OpenCloudOS-Kernel/drivers/gpu/drm/ttm
Daniel Vetter 6b1ce0a200 drm/ttm: remove ttm_bo_wait_unreserved
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: Daniel 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
2019-11-06 11:24:14 +01:00
..
Makefile drm/ttm, drm/vmwgfx: Move the lock- and object functionality to the vmwgfx driver 2018-09-27 15:19:20 +02:00
ttm_agp_backend.c drm/ttm: remove pointers to globals 2019-10-25 11:40:51 +02:00
ttm_bo.c drm/ttm: remove ttm_bo_wait_unreserved 2019-11-06 11:24:14 +01:00
ttm_bo_manager.c Add SPDX idenitifier and clarify license 2018-05-15 13:44:27 -05:00
ttm_bo_util.c drm/ttm: remove ttm_bo_wait_unreserved 2019-11-06 11:24:14 +01:00
ttm_bo_vm.c drm/ttm: remove ttm_bo_wait_unreserved 2019-11-06 11:24:14 +01:00
ttm_execbuf_util.c drm/ttm: remove pointers to globals 2019-10-25 11:40:51 +02:00
ttm_memory.c drm/ttm: remove pointers to globals 2019-10-25 11:40:51 +02:00
ttm_module.c Add SPDX idenitifier and clarify license 2018-05-15 13:44:27 -05:00
ttm_page_alloc.c drm/ttm: remove pointers to globals 2019-10-25 11:40:51 +02:00
ttm_page_alloc_dma.c drm/ttm: remove pointers to globals 2019-10-25 11:40:51 +02:00
ttm_tt.c drm/ttm: ttm_tt_init_fields() can be static 2019-11-04 13:02:34 +01:00