[Intel-gfx] [PATCH 2/2] drm/i915: Remove extraneous MI_BATCHBUFFER_START from the BLT ring.

Kenneth Graunke kenneth at whitecape.org
Sun Nov 6 18:51:38 CET 2011


This looks like it was part of the BLT ring workaround which the prior
patch removed.  However, this is a separate patch because it changes
behavior on shipping platforms.

Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
---
 drivers/gpu/drm/i915/intel_ringbuffer.c |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)

diff --git a/drivers/gpu/drm/i915/intel_ringbuffer.c b/drivers/gpu/drm/i915/intel_ringbuffer.c
index 8198ab3..9f11751 100644
--- a/drivers/gpu/drm/i915/intel_ringbuffer.c
+++ b/drivers/gpu/drm/i915/intel_ringbuffer.c
@@ -1353,10 +1353,6 @@ static int blt_ring_begin(struct intel_ring_buffer *ring,
 		int ret = intel_ring_begin(ring, num_dwords+2);
 		if (ret)
 			return ret;
-
-		intel_ring_emit(ring, MI_BATCH_BUFFER_START);
-		intel_ring_emit(ring, obj->gtt_offset);
-
 		return 0;
 	} else
 		return intel_ring_begin(ring, 4);
-- 
1.7.7.1




More information about the Intel-gfx mailing list