[Intel-gfx] [PATCH] intel_gpu_dump: CS FENCE in URB_FENCE is 11-bits wide

Xiang, Haihao haihao.xiang at intel.com
Wed Sep 2 07:11:35 CEST 2009


---
 tools/intel_gpu_dump.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/tools/intel_gpu_dump.c b/tools/intel_gpu_dump.c
index 2ab418c..791f497 100644
--- a/tools/intel_gpu_dump.c
+++ b/tools/intel_gpu_dump.c
@@ -1444,7 +1444,7 @@ i965_decode_urb_fence(uint32_t *data, uint32_t hw_offset, int len, int count,
 	clip_fence = (data[1] >> 20) & 0x3ff;
 	sf_fence = data[2] & 0x3ff;
 	vfe_fence = (data[2] >> 10) & 0x3ff;
-	cs_fence = (data[2] >> 20) & 0x3ff;
+	cs_fence = (data[2] >> 20) & 0x7ff;
 
 	instr_out(data, hw_offset, 0, "URB_FENCE: %s%s%s%s%s%s\n",
 			(data[0] >> 13) & 1 ? "cs " : "",
-- 
1.5.6.3




More information about the Intel-gfx mailing list