aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/ttm/ttm_bo_util.c
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2020-09-15 11:04:08 +1000
committerDave Airlie <airlied@redhat.com>2020-09-16 09:34:33 +1000
commit395a73f8ba6f00f0e188ac6daa43659520d75498 (patch)
tree7142c71980929f5ea729fe9293e28d3e88ba526d /drivers/gpu/drm/ttm/ttm_bo_util.c
parent2ff6e69c0449846197c52d7c591b983e23e3e3c9 (diff)
drm/ttm: tt destroy move null check to outer function.
This just makes things easier later. Reviewed-by: Christian König <christian.koenig@amd.com> Signed-off-by: Dave Airlie <airlied@redhat.com> Link: https://patchwork.freedesktop.org/patch/msgid/20200915024007.67163-4-airlied@gmail.com
Diffstat (limited to 'drivers/gpu/drm/ttm/ttm_bo_util.c')
-rw-r--r--drivers/gpu/drm/ttm/ttm_bo_util.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/ttm/ttm_bo_util.c b/drivers/gpu/drm/ttm/ttm_bo_util.c
index 0d2f3bc5df92..8389972a1ed6 100644
--- a/drivers/gpu/drm/ttm/ttm_bo_util.c
+++ b/drivers/gpu/drm/ttm/ttm_bo_util.c
@@ -696,3 +696,4 @@ int ttm_bo_pipeline_gutting(struct ttm_buffer_object *bo)
return 0;
}
+