aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c
diff options
context:
space:
mode:
authorMonk Liu <Monk.Liu@amd.com>2017-01-17 21:31:18 -0500
committerAlex Deucher <alexander.deucher@amd.com>2017-01-27 11:13:37 -0500
commit714fbf80392248170c2e67cd77062e2cab0d8a82 (patch)
tree9a43ddd9dbba0d0325cbd74471d50920269cc732 /drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c
parentc2ce92fc7912d0eb2f4ae5a40977fa8a0378e796 (diff)
drm/amdgpu:set cond_exec polling value to 1 in ring_init
no need to set it per ib_schedule(), hw won't override this polling address. Signed-off-by: Monk Liu <Monk.Liu@amd.com> Reviewed-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_ib.c')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c
index 972e84e4344e..38dded50ae8a 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c
@@ -175,9 +175,6 @@ int amdgpu_ib_schedule(struct amdgpu_ring *ring, unsigned num_ibs,
175 if (ring->funcs->emit_hdp_flush) 175 if (ring->funcs->emit_hdp_flush)
176 amdgpu_ring_emit_hdp_flush(ring); 176 amdgpu_ring_emit_hdp_flush(ring);
177 177
178 /* always set cond_exec_polling to CONTINUE */
179 *ring->cond_exe_cpu_addr = 1;
180
181 skip_preamble = ring->current_ctx == fence_ctx; 178 skip_preamble = ring->current_ctx == fence_ctx;
182 need_ctx_switch = ring->current_ctx != fence_ctx; 179 need_ctx_switch = ring->current_ctx != fence_ctx;
183 if (job && ring->funcs->emit_cntxcntl) { 180 if (job && ring->funcs->emit_cntxcntl) {