aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/gpu/drm/i915/intel_ringbuffer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/intel_ringbuffer.c b/drivers/gpu/drm/i915/intel_ringbuffer.c
index 89004a622f49..f1e0538b21f5 100644
--- a/drivers/gpu/drm/i915/intel_ringbuffer.c
+++ b/drivers/gpu/drm/i915/intel_ringbuffer.c
@@ -476,7 +476,7 @@ render_ring_dispatch_gem_execbuffer(struct drm_device *dev,
476 intel_ring_emit(dev, ring, exec_start + exec_len - 4); 476 intel_ring_emit(dev, ring, exec_start + exec_len - 4);
477 intel_ring_emit(dev, ring, 0); 477 intel_ring_emit(dev, ring, 0);
478 } else { 478 } else {
479 intel_ring_begin(dev, ring, 4); 479 intel_ring_begin(dev, ring, 2);
480 if (INTEL_INFO(dev)->gen >= 4) { 480 if (INTEL_INFO(dev)->gen >= 4) {
481 intel_ring_emit(dev, ring, 481 intel_ring_emit(dev, ring,
482 MI_BATCH_BUFFER_START | (2 << 6) 482 MI_BATCH_BUFFER_START | (2 << 6)