diff options
author | Christian König <christian.koenig@amd.com> | 2016-06-15 07:44:00 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2016-07-07 14:54:39 -0400 |
commit | 74561cd4f128091f41ab698277cde2542dcc5cad (patch) | |
tree | 43f0d3eb187c73a8e8270f6f4508c55ccddc25c4 /include/drm | |
parent | 99c44632d42c077ddd648025ad43f943fa034a43 (diff) |
drm/ttm: remove no_gpu_wait param from ttm_bo_move_accel_cleanup
It isn't used and not waiting for the GPU after scheduling a move is
actually quite dangerous.
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 'include/drm')
-rw-r--r-- | include/drm/ttm/ttm_bo_driver.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/include/drm/ttm/ttm_bo_driver.h b/include/drm/ttm/ttm_bo_driver.h index 0d1d9d78c650..697e5f919135 100644 --- a/include/drm/ttm/ttm_bo_driver.h +++ b/include/drm/ttm/ttm_bo_driver.h | |||
@@ -1004,7 +1004,6 @@ extern void ttm_bo_free_old_node(struct ttm_buffer_object *bo); | |||
1004 | * @bo: A pointer to a struct ttm_buffer_object. | 1004 | * @bo: A pointer to a struct ttm_buffer_object. |
1005 | * @fence: A fence object that signals when moving is complete. | 1005 | * @fence: A fence object that signals when moving is complete. |
1006 | * @evict: This is an evict move. Don't return until the buffer is idle. | 1006 | * @evict: This is an evict move. Don't return until the buffer is idle. |
1007 | * @no_wait_gpu: Return immediately if the GPU is busy. | ||
1008 | * @new_mem: struct ttm_mem_reg indicating where to move. | 1007 | * @new_mem: struct ttm_mem_reg indicating where to move. |
1009 | * | 1008 | * |
1010 | * Accelerated move function to be called when an accelerated move | 1009 | * Accelerated move function to be called when an accelerated move |
@@ -1016,8 +1015,7 @@ extern void ttm_bo_free_old_node(struct ttm_buffer_object *bo); | |||
1016 | */ | 1015 | */ |
1017 | 1016 | ||
1018 | extern int ttm_bo_move_accel_cleanup(struct ttm_buffer_object *bo, | 1017 | extern int ttm_bo_move_accel_cleanup(struct ttm_buffer_object *bo, |
1019 | struct fence *fence, | 1018 | struct fence *fence, bool evict, |
1020 | bool evict, bool no_wait_gpu, | ||
1021 | struct ttm_mem_reg *new_mem); | 1019 | struct ttm_mem_reg *new_mem); |
1022 | /** | 1020 | /** |
1023 | * ttm_io_prot | 1021 | * ttm_io_prot |