[Intel-gfx] [Intel gfx][i-g-t PATCH 2/4] rendercopy/bdw: Set Instruction Buffer size Modify Enable to 1

Xiang, Haihao haihao.xiang at intel.com
Fri Dec 6 09:54:45 CET 2013


From: "Xiang, Haihao" <haihao.xiang at intel.com>

Otherwise it may result in GPU hang

Signed-off-by: Xiang, Haihao <haihao.xiang at intel.com>
---
 lib/rendercopy_gen8.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/rendercopy_gen8.c b/lib/rendercopy_gen8.c
index 43e962c..1a137dd 100644
--- a/lib/rendercopy_gen8.c
+++ b/lib/rendercopy_gen8.c
@@ -526,7 +526,7 @@ gen8_emit_state_base_address(struct intel_batchbuffer *batch) {
 	/* indirect object buffer size */
 	OUT_BATCH(0xfffff000 | 1);
 	/* intruction buffer size */
-	OUT_BATCH(1 << 12);
+	OUT_BATCH(1 << 12 | 1);
 }
 
 static void
-- 
1.7.9.5




More information about the Intel-gfx mailing list