aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/intel_ringbuffer.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/drm/i915/intel_ringbuffer.c')
-rw-r--r--drivers/gpu/drm/i915/intel_ringbuffer.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/gpu/drm/i915/intel_ringbuffer.c b/drivers/gpu/drm/i915/intel_ringbuffer.c
index 7f188c9caf0d..ca8363531a64 100644
--- a/drivers/gpu/drm/i915/intel_ringbuffer.c
+++ b/drivers/gpu/drm/i915/intel_ringbuffer.c
@@ -468,7 +468,8 @@ pc_render_add_request(struct intel_ring_buffer *ring,
468 return ret; 468 return ret;
469 469
470 intel_ring_emit(ring, GFX_OP_PIPE_CONTROL(4) | PIPE_CONTROL_QW_WRITE | 470 intel_ring_emit(ring, GFX_OP_PIPE_CONTROL(4) | PIPE_CONTROL_QW_WRITE |
471 PIPE_CONTROL_WC_FLUSH | PIPE_CONTROL_TC_FLUSH); 471 PIPE_CONTROL_WRITE_FLUSH |
472 PIPE_CONTROL_TEXTURE_CACHE_INVALIDATE);
472 intel_ring_emit(ring, pc->gtt_offset | PIPE_CONTROL_GLOBAL_GTT); 473 intel_ring_emit(ring, pc->gtt_offset | PIPE_CONTROL_GLOBAL_GTT);
473 intel_ring_emit(ring, seqno); 474 intel_ring_emit(ring, seqno);
474 intel_ring_emit(ring, 0); 475 intel_ring_emit(ring, 0);
@@ -484,7 +485,8 @@ pc_render_add_request(struct intel_ring_buffer *ring,
484 scratch_addr += 128; 485 scratch_addr += 128;
485 PIPE_CONTROL_FLUSH(ring, scratch_addr); 486 PIPE_CONTROL_FLUSH(ring, scratch_addr);
486 intel_ring_emit(ring, GFX_OP_PIPE_CONTROL(4) | PIPE_CONTROL_QW_WRITE | 487 intel_ring_emit(ring, GFX_OP_PIPE_CONTROL(4) | PIPE_CONTROL_QW_WRITE |
487 PIPE_CONTROL_WC_FLUSH | PIPE_CONTROL_TC_FLUSH | 488 PIPE_CONTROL_WRITE_FLUSH |
489 PIPE_CONTROL_TEXTURE_CACHE_INVALIDATE |
488 PIPE_CONTROL_NOTIFY); 490 PIPE_CONTROL_NOTIFY);
489 intel_ring_emit(ring, pc->gtt_offset | PIPE_CONTROL_GLOBAL_GTT); 491 intel_ring_emit(ring, pc->gtt_offset | PIPE_CONTROL_GLOBAL_GTT);
490 intel_ring_emit(ring, seqno); 492 intel_ring_emit(ring, seqno);