diff options
author | Dave Airlie <airlied@redhat.com> | 2020-09-15 04:34:51 +0300 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2020-09-16 02:35:30 +0300 |
commit | 9e9a153bdf2555a931fd37678a8e44d170a5d943 (patch) | |
tree | 1da6cf699fc948cec069a258edaa55020489e4bb /drivers/gpu/drm/nouveau | |
parent | 2040ec970e94dde0b94e200ae9bb8f21a61c928f (diff) | |
download | linux-9e9a153bdf2555a931fd37678a8e44d170a5d943.tar.xz |
drm/ttm: move ttm binding/unbinding out of ttm_tt paths.
Move these up to the bo level, moving ttm_tt to just being
backing store. Next step is to move the bound flag out.
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-6-airlied@gmail.com
Diffstat (limited to 'drivers/gpu/drm/nouveau')
-rw-r--r-- | drivers/gpu/drm/nouveau/nouveau_bo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/nouveau/nouveau_bo.c b/drivers/gpu/drm/nouveau/nouveau_bo.c index 1088de50c14c..aea201d9c513 100644 --- a/drivers/gpu/drm/nouveau/nouveau_bo.c +++ b/drivers/gpu/drm/nouveau/nouveau_bo.c @@ -924,7 +924,7 @@ nouveau_bo_move_flipd(struct ttm_buffer_object *bo, bool evict, bool intr, if (ret) goto out; - ret = ttm_tt_bind(bo->bdev, bo->ttm, &tmp_reg); + ret = ttm_bo_tt_bind(bo, &tmp_reg); if (ret) goto out; |