diff options
author | Dave Airlie <airlied@redhat.com> | 2020-10-20 04:03:19 +0300 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2020-10-21 06:46:07 +0300 |
commit | bfe5e585b44fb810e33fe54d4d822c6b2b40488c (patch) | |
tree | 8146d94025f603d0903a81918a830dd124cd4d68 /drivers/gpu/drm/ttm/ttm_bo.c | |
parent | 6d820003295977f865257f1845bcdebc5dab4fb5 (diff) | |
download | linux-bfe5e585b44fb810e33fe54d4d822c6b2b40488c.tar.xz |
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/ttm_bo.c')
-rw-r--r-- | drivers/gpu/drm/ttm/ttm_bo.c | 4 |
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; } } |