drm/ttm: move unbind into the tt destroy.
authorDave Airlie <airlied@redhat.com>
Thu, 17 Sep 2020 03:24:50 +0000 (13:24 +1000)
committerDave Airlie <airlied@redhat.com>
Thu, 17 Sep 2020 20:15:24 +0000 (06:15 +1000)
commit37bff6542c4e140a11657406c1bab50a40329cc1
tree05533f9202ffdf5a4ab13004134db4d4f6511612
parent7626168fd132009c79a0457bccc58014abc738f5
drm/ttm: move unbind into the tt destroy.

This moves unbind into the driver side on destroy paths.

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-4-airlied@gmail.com
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c
drivers/gpu/drm/nouveau/nouveau_bo.c
drivers/gpu/drm/nouveau/nouveau_sgdma.c
drivers/gpu/drm/radeon/radeon_ttm.c
drivers/gpu/drm/ttm/ttm_bo.c
drivers/gpu/drm/vmwgfx/vmwgfx_ttm_buffer.c