linux/include/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
..
ttm_bo_api.h drm/ttm: remove ttm_bo_wait_unreserved 2019-11-06 11:24:14 +01:00
ttm_bo_driver.h drm/ttm: remove pointers to globals 2019-10-25 11:40:51 +02:00
ttm_debug.h drm/ttm: Add DMA map/unmap tracepoint (v3) 2017-08-29 15:27:50 -04:00
ttm_execbuf_util.h drm/ttm: always keep BOs on the LRU 2019-10-25 11:40:50 +02:00
ttm_memory.h drm/ttm: remove pointers to globals 2019-10-25 11:40:51 +02:00
ttm_module.h drm: move ttm global code to core drm 2010-08-04 09:46:06 +10:00
ttm_page_alloc.h drm/ttm: use an operation ctx for ttm_tt_populate in ttm_bo_driver (v2) 2017-12-28 09:48:19 -05:00
ttm_placement.h drm/ttm: add TTM_PL_FLAG_CONTIGUOUS v2 2017-04-04 23:33:42 -04:00
ttm_set_memory.h drm/ttm: Add ttm_set_pages_wc and ttm_set_pages_uc helper 2018-08-01 17:23:05 -05:00
ttm_tt.h drm/ttm: add bo as parameter to the ttm_tt_create callback 2018-03-14 14:38:27 -05:00