[Intel-gfx] [PATCH i-g-t 15/26] rendercopy/skl: Set the URB VS start address to 4

Damien Lespiau damien.lespiau at intel.com
Fri Sep 26 16:03:13 CEST 2014


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

A value less than 4 might result in GPU hang on simulation

Signed-off-by: Xiang, Haihao <haihao.xiang at intel.com>
Signed-off-by: Ben Widawsky <benjamin.widawsky at linux.intel.com>
Signed-off-by: Damien Lespiau <damien.lespiau at intel.com>
---
 lib/rendercopy_gen9.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/rendercopy_gen9.c b/lib/rendercopy_gen9.c
index 8621f7f..92265c1 100644
--- a/lib/rendercopy_gen9.c
+++ b/lib/rendercopy_gen9.c
@@ -558,7 +558,7 @@ gen7_emit_urb(struct intel_batchbuffer *batch) {
 	/* XXX: Min valid values from mesa */
 	const int vs_entries = 64;
 	const int vs_size = 2;
-	const int vs_start = 2;
+	const int vs_start = 4;
 
 	OUT_BATCH(GEN7_3DSTATE_URB_VS);
 	OUT_BATCH(vs_entries | ((vs_size - 1) << 16) | (vs_start << 25));
-- 
1.8.3.1




More information about the Intel-gfx mailing list