]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitaa0803d8e0d0df3aabb2a28aa55e4405c8d78a38
tree963660ce229de967db864207c79d913b139f9cde
parent187556f55b0e98d050cc2b14c7fec03eb5a51611
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