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
Showing
- drivers/gpu/drm/ttm/ttm_bo.c 0 additions, 36 deletionsdrivers/gpu/drm/ttm/ttm_bo.c
- drivers/gpu/drm/ttm/ttm_bo_util.c 0 additions, 1 deletiondrivers/gpu/drm/ttm/ttm_bo_util.c
- drivers/gpu/drm/ttm/ttm_bo_vm.c 5 additions, 13 deletionsdrivers/gpu/drm/ttm/ttm_bo_vm.c
- include/drm/ttm/ttm_bo_api.h 0 additions, 4 deletionsinclude/drm/ttm/ttm_bo_api.h
Please register or sign in to comment