1. 16 1月, 2020 1 次提交
  2. 14 11月, 2019 1 次提交
  3. 08 11月, 2019 1 次提交
  4. 06 11月, 2019 2 次提交
    • T
      drm/ttm: Convert vm callbacks to helpers · 7aef29f4
      Thomas Hellstrom 提交于
      The default TTM fault handler may not be completely sufficient
      (vmwgfx needs to do some bookkeeping, control the write protectionand also
      needs to restrict the number of prefaults).
      
      Also make it possible replicate ttm_bo_vm_reserve() functionality for,
      for example, mkwrite handlers.
      
      So turn the TTM vm code into helpers: ttm_bo_vm_fault_reserved(),
      ttm_bo_vm_open(), ttm_bo_vm_close() and ttm_bo_vm_reserve(). Also provide
      a default TTM fault handler for other drivers to use.
      Signed-off-by: NThomas Hellstrom <thellstrom@vmware.com>
      Reviewed-by: NChristian König <christian.koenig@amd.com>
      7aef29f4
    • D
      drm/ttm: remove ttm_bo_wait_unreserved · 6b1ce0a2
      Daniel Vetter 提交于
      With nouveau fixed all ttm-using drives have the correct nesting of
      mmap_sem vs dma_resv, and we can just lock the buffer.
      
      Assuming I didn't screw up anything with my audit of course.
      
      v2:
      - Dont forget wu_mutex (Christian König)
      - Keep the mmap_sem-less wait optimization (Thomas)
      - Use _lock_interruptible to be good citizens (Thomas)
      
      v3: Rebase over fault handler helperification.
      
      Reviewed-by: Christian König <christian.koenig@amd.com> (v2)
      Reviewed-by: Thomas Hellström <thellstrom@vmware.com> (v2)
      Signed-off-by: NDaniel Vetter <daniel.vetter@intel.com>
      Cc: Christian Koenig <christian.koenig@amd.com>
      Cc: Huang Rui <ray.huang@amd.com>
      Cc: Gerd Hoffmann <kraxel@redhat.com>
      Cc: "VMware Graphics" <linux-graphics-maintainer@vmware.com>
      Cc: Thomas Hellstrom <thellstrom@vmware.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20191104173801.2972-3-daniel.vetter@ffwll.ch
      6b1ce0a2
  5. 04 11月, 2019 1 次提交
  6. 25 10月, 2019 3 次提交
  7. 17 10月, 2019 1 次提交
  8. 11 9月, 2019 2 次提交
  9. 13 8月, 2019 1 次提交
  10. 06 8月, 2019 5 次提交
  11. 05 8月, 2019 1 次提交
  12. 02 8月, 2019 1 次提交
  13. 16 7月, 2019 1 次提交
  14. 18 6月, 2019 2 次提交
  15. 06 6月, 2019 1 次提交
  16. 31 5月, 2019 1 次提交
  17. 20 4月, 2019 1 次提交
  18. 20 3月, 2019 3 次提交
  19. 04 2月, 2019 1 次提交
  20. 29 1月, 2019 1 次提交
  21. 26 1月, 2019 1 次提交
  22. 08 12月, 2018 1 次提交
  23. 06 11月, 2018 7 次提交