Mesa (master): i965: Disassemble Ivybridge Data Port/Data Cache messages.

Kenneth Graunke kwg at kemper.freedesktop.org
Tue Oct 18 15:57:13 PDT 2011


Module: Mesa
Branch: master
Commit: 188f0742558196367df24086c4dc9865ebd86f7e
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=188f0742558196367df24086c4dc9865ebd86f7e

Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Sat Oct  8 01:31:11 2011 -0700

i965: Disassemble Ivybridge Data Port/Data Cache messages.

Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
Reviewed-by: Eric Anholt <eric at anholt.net>

---

 src/mesa/drivers/dri/i965/brw_disasm.c |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/src/mesa/drivers/dri/i965/brw_disasm.c b/src/mesa/drivers/dri/i965/brw_disasm.c
index 1dd6b4b..23ad3de 100644
--- a/src/mesa/drivers/dri/i965/brw_disasm.c
+++ b/src/mesa/drivers/dri/i965/brw_disasm.c
@@ -1066,6 +1066,14 @@ int brw_disasm (FILE *file, struct brw_instruction *inst, int gen)
 	    break;
 	case BRW_SFID_THREAD_SPAWNER:
 	    break;
+	case GEN7_SFID_DATAPORT_DATA_CACHE:
+	    format (file, " (%d, %d, %d)",
+		    inst->bits3.gen7_dp.binding_table_index,
+		    inst->bits3.gen7_dp.msg_control,
+		    inst->bits3.gen7_dp.msg_type);
+	    break;
+
+
 	default:
 	    format (file, "unsupported target %d", target);
 	    break;



More information about the mesa-commit mailing list