summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Gamari <bgamari.foss@gmail.com>2009-07-01 16:52:20 -0400
committerCarl Worth <cworth@cworth.org>2009-07-07 10:49:33 -0700
commit4839ee97875d07a27c28f39021178d2cf4b5d4b8 (patch)
treefd152b4b5a69cd727fd84660c6da1a67a99ebdbf
parent147f07b5c2248f57c75961b80e717bd83fcaa44b (diff)
Add CS_USB_STATE decoding
-rw-r--r--tools/intel_gpu_dump.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/intel_gpu_dump.c b/tools/intel_gpu_dump.c
index 061c362c..bb2637d2 100644
--- a/tools/intel_gpu_dump.c
+++ b/tools/intel_gpu_dump.c
@@ -1515,6 +1515,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");