drm/ttm: wait for BO idle in ttm_bo_move_memcpy
When we want to pipeline accelerated moves we need to wait in the fallback path. Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Christian König <christian.koenig@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:

committed by
Alex Deucher

parent
88932a7be2
commit
77dfc28bad
@@ -359,7 +359,8 @@ static int ttm_bo_handle_move_mem(struct ttm_buffer_object *bo,
|
||||
ret = bdev->driver->move(bo, evict, interruptible,
|
||||
no_wait_gpu, mem);
|
||||
else
|
||||
ret = ttm_bo_move_memcpy(bo, evict, no_wait_gpu, mem);
|
||||
ret = ttm_bo_move_memcpy(bo, evict, interruptible,
|
||||
no_wait_gpu, mem);
|
||||
|
||||
if (ret) {
|
||||
if (bdev->driver->move_notify) {
|
||||
|
Reference in New Issue
Block a user