[Mesa-dev] [RFC PATCH 02/12] intel: On Haswell hardware, enable the resource streamer on batchbuffer start
Abdiel Janulgue
abdiel.janulgue at linux.intel.com
Mon Jul 8 06:16:53 PDT 2013
Signed-off-by: Abdiel Janulgue <abdiel.janulgue at linux.intel.com>
---
src/mesa/drivers/dri/i965/intel_batchbuffer.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/mesa/drivers/dri/i965/intel_batchbuffer.c b/src/mesa/drivers/dri/i965/intel_batchbuffer.c
index 409df29..84736a8 100644
--- a/src/mesa/drivers/dri/i965/intel_batchbuffer.c
+++ b/src/mesa/drivers/dri/i965/intel_batchbuffer.c
@@ -202,6 +202,9 @@ do_flush_locked(struct intel_context *intel)
if (batch->needs_sol_reset)
flags |= I915_EXEC_GEN7_SOL_RESET;
+ if (intel->is_haswell)
+ flags |= I915_EXEC_RS;
+
if (ret == 0) {
if (unlikely(INTEL_DEBUG & DEBUG_AUB))
brw_annotate_aub(intel);
--
1.7.9.5
More information about the mesa-dev
mailing list