From f93dae8176d83791521eae23ab3c028cc7c93eee Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Thu, 4 Mar 2010 09:14:56 +0000 Subject: [PATCH] decode: Fix length mask for LOAD_REGISTER_IMM. Signed-off-by: Chris Wilson --- tools/intel_decode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/intel_decode.c b/tools/intel_decode.c index ede178a2..5138681b 100644 --- a/tools/intel_decode.c +++ b/tools/intel_decode.c @@ -77,7 +77,7 @@ decode_mi(uint32_t *data, int count, uint32_t hw_offset, int *failures) { 0x31, 0x3f, 2, 2, "MI_BATCH_BUFFER_START" }, { 0x14, 0x3f, 3, 3, "MI_DISPLAY_BUFFER_INFO" }, { 0x04, 0, 1, 1, "MI_FLUSH" }, - { 0x22, 0, 3, 3, "MI_LOAD_REGISTER_IMM" }, + { 0x22, 0x1f, 3, 3, "MI_LOAD_REGISTER_IMM" }, { 0x13, 0x3f, 2, 2, "MI_LOAD_SCAN_LINES_EXCL" }, { 0x12, 0x3f, 2, 2, "MI_LOAD_SCAN_LINES_INCL" }, { 0x00, 0, 1, 1, "MI_NOOP" },