[Intel-gfx] [PATCH 4/4] Add CS_USB_STATE decoding

Ben Gamari bgamari.foss at gmail.com
Wed Jul 1 22:52:20 CEST 2009


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

diff --git a/tools/intel_gpu_dump.c b/tools/intel_gpu_dump.c
index 2211484..c872c68 100644
--- a/tools/intel_gpu_dump.c
+++ b/tools/intel_gpu_dump.c
@@ -1514,6 +1514,11 @@ decode_3d_965(uint32_t *data, int count, uint32_t hw_offset, int *failures)
     case 0x6000:
     len = (data[0] & 0x000000ff) + 2;
 	return i965_decode_urb_fence(data, hw_offset, len, count, failures);
+    case 0x6001:
+	instr_out(data, hw_offset, 0, "CS_URB_STATE\n");
+	instr_out(data, hw_offset, 1, "entry_size: %d, n_entries: %d\n",
+			(data[1] >> 4) & 0x1f, data[1] & 0x7);
+	return len;
     case 0x6002:
 	instr_out(data, hw_offset, 0, "CONSTANT_BUFFER: %s\n",
 			(data[0] >> 8) & 1 ? "valid" : "invalid");
-- 
1.6.3.3




More information about the Intel-gfx mailing list