drm/ttm: use an ttm operation ctx for ttm_bo_move_xxx
include ttm_bo_move_memcpy and ttm_bo_move_ttm Signed-off-by: Roger He <Hongbo.He@amd.com> Reviewed-by: Christian König <christian.koenig@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
@@ -357,8 +357,7 @@ static int qxl_bo_move(struct ttm_buffer_object *bo, bool evict,
|
||||
qxl_move_null(bo, new_mem);
|
||||
return 0;
|
||||
}
|
||||
return ttm_bo_move_memcpy(bo, ctx->interruptible, ctx->no_wait_gpu,
|
||||
new_mem);
|
||||
return ttm_bo_move_memcpy(bo, ctx, new_mem);
|
||||
}
|
||||
|
||||
static void qxl_bo_move_notify(struct ttm_buffer_object *bo,
|
||||
|
Reference in New Issue
Block a user