intel-decode: Fix gen6 HIER_DEPTH_BUFFER decoding

It accidentally used the cmd id for the gen7 command and had an
outdated lenght field. Spotted while trying to make sense of an ivb
error_state from mesa 7.11 ...

Reviewed-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
main
Daniel Vetter 2013-04-03 18:25:12 +02:00
parent ca678bc073
commit b7bb9e9297
2 changed files with 4 additions and 4 deletions

View File

@ -3162,7 +3162,7 @@ decode_3d_965(struct drm_intel_decode *ctx)
{ 0x7805, 0x00ff, 3, 3, "3DSTATE_URB" }, { 0x7805, 0x00ff, 3, 3, "3DSTATE_URB" },
{ 0x7804, 0x00ff, 3, 3, "3DSTATE_CLEAR_PARAMS" }, { 0x7804, 0x00ff, 3, 3, "3DSTATE_CLEAR_PARAMS" },
{ 0x7806, 0x00ff, 3, 3, "3DSTATE_STENCIL_BUFFER" }, { 0x7806, 0x00ff, 3, 3, "3DSTATE_STENCIL_BUFFER" },
{ 0x7807, 0x00ff, 4, 4, "3DSTATE_HIER_DEPTH_BUFFER", 6 }, { 0x790f, 0x00ff, 3, 3, "3DSTATE_HIER_DEPTH_BUFFER", 6 },
{ 0x7807, 0x00ff, 3, 3, "3DSTATE_HIER_DEPTH_BUFFER", 7, gen7_3DSTATE_HIER_DEPTH_BUFFER }, { 0x7807, 0x00ff, 3, 3, "3DSTATE_HIER_DEPTH_BUFFER", 7, gen7_3DSTATE_HIER_DEPTH_BUFFER },
{ 0x7808, 0x00ff, 5, 257, "3DSTATE_VERTEX_BUFFERS" }, { 0x7808, 0x00ff, 5, 257, "3DSTATE_VERTEX_BUFFERS" },
{ 0x7809, 0x00ff, 3, 256, "3DSTATE_VERTEX_ELEMENTS" }, { 0x7809, 0x00ff, 3, 256, "3DSTATE_VERTEX_ELEMENTS" },

View File

@ -146,9 +146,9 @@
0x12300244: 0x00000000: volume depth 0x12300244: 0x00000000: volume depth
0x12300248: 0x00000000: 0x12300248: 0x00000000:
0x1230024c: 0x00000000: 0x1230024c: 0x00000000:
0x12300250: 0x790f0001: 3D UNKNOWN: 3d_965 opcode = 0x790f 0x12300250: 0x790f0001: 3DSTATE_HIER_DEPTH_BUFFER
0x12300254: 0x000005ff: MI_NOOP 0x12300254: 0x000005ff: dword 1
0x12300258: 0x00000000: MI_NOOP 0x12300258: 0x00000000: dword 2
0x1230025c: 0x790e0001: 3D UNKNOWN: 3d_965 opcode = 0x790e 0x1230025c: 0x790e0001: 3D UNKNOWN: 3d_965 opcode = 0x790e
0x12300260: 0x0000027f: MI_NOOP 0x12300260: 0x0000027f: MI_NOOP
0x12300264: 0x00000000: MI_NOOP 0x12300264: 0x00000000: MI_NOOP