diff options
author | Eric Anholt <eric@anholt.net> | 2009-12-17 14:21:28 -0800 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2010-02-25 10:41:49 -0800 |
commit | 35233864413ff74e26a29b7807ec7413cde6e7cc (patch) | |
tree | 0ff4c35d83882f3b15e3a08447d56251d414ef2b | |
parent | 0a497420cd170e0eb1109dd03dab04232d7e9ce2 (diff) |
Add Sandybridge decode for CMD_VIEWPORT_STATE_POINTERS
-rw-r--r-- | tools/intel_decode.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tools/intel_decode.c b/tools/intel_decode.c index 014ab8a9..4401c720 100644 --- a/tools/intel_decode.c +++ b/tools/intel_decode.c @@ -1697,6 +1697,18 @@ decode_3d_965(uint32_t *data, int count, uint32_t hw_offset, uint32_t devid, int } return len; + case 0x780d: + len = (data[0] & 0xff) + 2; + if (len != 4) + fprintf(out, "Bad count in 3DSTATE_VIEWPORT_STATE_POINTERS\n"); + if (count < len) + BUFFER_FAIL(count, len, "3DSTATE_VIEWPORT_STATE_POINTERS"); + instr_out(data, hw_offset, 0, "3DSTATE_VIEWPORT_STATE_POINTERS\n"); + instr_out(data, hw_offset, 1, "clip\n"); + instr_out(data, hw_offset, 2, "sf\n"); + instr_out(data, hw_offset, 3, "cc\n"); + return len; + case 0x780a: len = (data[0] & 0xff) + 2; if (len != 3) |