diff options
author | 2016-06-06 10:17:54 +0200 | |
---|---|---|
committer | 2016-07-07 14:54:35 -0400 | |
commit | 77dfc28bad2c75493125ba8660e4c27c2dcdab57 (patch) | |
tree | 9507a0390a013f019196ee211cb4e14ca5f887b2 /drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c | |
parent | drm/ttm: add wait for idle in all drivers bo_move functions (diff) | |
download | wireguard-linux-77dfc28bad2c75493125ba8660e4c27c2dcdab57.tar.xz wireguard-linux-77dfc28bad2c75493125ba8660e4c27c2dcdab57.zip |
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>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c index 0a6a6320b40e..9b244c5a6295 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c @@ -433,7 +433,8 @@ static int amdgpu_bo_move(struct ttm_buffer_object *bo, if (r) { memcpy: - r = ttm_bo_move_memcpy(bo, evict, no_wait_gpu, new_mem); + r = ttm_bo_move_memcpy(bo, evict, interruptible, + no_wait_gpu, new_mem); if (r) { return r; } |