drm/ttm: use an operation ctx for ttm_tt_bind
forward the operation context to ttm_tt_bind as well, and the ultimate goal is swapout enablement for reserved BOs. v2: use common term rather than amd specific Reviewed-by: Thomas Hellström <thellstrom@vmware.com> Reviewed-by: Christian König <christian.koenig@amd.com> Reviewed-by: Chuming Zhou <david1.zhou@amd.com> Signed-off-by: Roger He <Hongbo.He@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
@@ -339,7 +339,7 @@ static int radeon_move_vram_ram(struct ttm_buffer_object *bo,
|
||||
goto out_cleanup;
|
||||
}
|
||||
|
||||
r = ttm_tt_bind(bo->ttm, &tmp_mem);
|
||||
r = ttm_tt_bind(bo->ttm, &tmp_mem, &ctx);
|
||||
if (unlikely(r)) {
|
||||
goto out_cleanup;
|
||||
}
|
||||
|
Reference in New Issue
Block a user