summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/ttm
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2020-10-20 11:03:19 +1000
committerDave Airlie <airlied@redhat.com>2020-10-21 13:46:07 +1000
commitbfe5e585b44fb810e33fe54d4d822c6b2b40488c (patch)
tree8146d94025f603d0903a81918a830dd124cd4d68 /drivers/gpu/drm/ttm
parent6d820003295977f865257f1845bcdebc5dab4fb5 (diff)
downloadlinux-bfe5e585b44fb810e33fe54d4d822c6b2b40488c.tar.bz2
drm/ttm: move last binding into the drivers.
This moves the call to tt binding into the driver move, and drops the driver callback. Reviewed-by: Christian König <christian.koenig@amd.com> Signed-off-by: Dave Airlie <airlied@redhat.com> Link: https://patchwork.freedesktop.org/patch/msgid/20201020010319.1692445-8-airlied@gmail.com
Diffstat (limited to 'drivers/gpu/drm/ttm')
-rw-r--r--drivers/gpu/drm/ttm/ttm_bo.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/gpu/drm/ttm/ttm_bo.c b/drivers/gpu/drm/ttm/ttm_bo.c
index cd9c2bb183f4..2b578012cdef 100644
--- a/drivers/gpu/drm/ttm/ttm_bo.c
+++ b/drivers/gpu/drm/ttm/ttm_bo.c
@@ -256,10 +256,6 @@ static int ttm_bo_handle_move_mem(struct ttm_buffer_object *bo,
ret = ttm_tt_populate(bo->bdev, bo->ttm, ctx);
if (ret)
goto out_err;
-
- ret = bdev->driver->ttm_tt_bind(bo->bdev, bo->ttm, mem);
- if (ret)
- goto out_err;
}
}