diff options
author | Dave Airlie <airlied@redhat.com> | 2020-09-17 05:24:50 +0200 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2020-09-17 22:15:24 +0200 |
commit | 37bff6542c4e140a11657406c1bab50a40329cc1 (patch) | |
tree | 05533f9202ffdf5a4ab13004134db4d4f6511612 /drivers/gpu/drm/ttm/ttm_bo.c | |
parent | drm/ttm: flip tt destroy ordering. (diff) | |
download | linux-37bff6542c4e140a11657406c1bab50a40329cc1.tar.xz linux-37bff6542c4e140a11657406c1bab50a40329cc1.zip |
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
Diffstat (limited to 'drivers/gpu/drm/ttm/ttm_bo.c')
-rw-r--r-- | drivers/gpu/drm/ttm/ttm_bo.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpu/drm/ttm/ttm_bo.c b/drivers/gpu/drm/ttm/ttm_bo.c index 4741c73f6ea4..b814d0c9bc8a 100644 --- a/drivers/gpu/drm/ttm/ttm_bo.c +++ b/drivers/gpu/drm/ttm/ttm_bo.c @@ -1619,7 +1619,6 @@ void ttm_bo_tt_destroy(struct ttm_buffer_object *bo) if (bo->ttm == NULL) return; - ttm_bo_tt_unbind(bo); ttm_tt_destroy(bo->bdev, bo->ttm); bo->ttm = NULL; } |