drm/ttm: flip tt destroy ordering.
authorDave Airlie <airlied@redhat.com>
Thu, 17 Sep 2020 03:20:48 +0000 (13:20 +1000)
committerDave Airlie <airlied@redhat.com>
Thu, 17 Sep 2020 20:14:41 +0000 (06:14 +1000)
commit7626168fd132009c79a0457bccc58014abc738f5
tree963660ce229de967db864207c79d913b139f9cde
parent0b988ca1c7c4c73983b4ea96ef7c2af2263c87eb
drm/ttm: flip tt destroy ordering.

Call the driver first and have it call the common code cleanup.

This is useful later to fix unbind.

Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200917043040.146575-3-airlied@gmail.com
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c
drivers/gpu/drm/drm_gem_vram_helper.c
drivers/gpu/drm/nouveau/nouveau_bo.c
drivers/gpu/drm/nouveau/nouveau_sgdma.c
drivers/gpu/drm/qxl/qxl_ttm.c
drivers/gpu/drm/radeon/radeon_ttm.c
drivers/gpu/drm/ttm/ttm_tt.c
drivers/gpu/drm/vmwgfx/vmwgfx_ttm_buffer.c
include/drm/ttm/ttm_tt.h