From a2dfbbf3e70767bc4c67c18c9c14ab4f9646155e Mon Sep 17 00:00:00 2001 From: Daniel Vetter Date: Wed, 28 Sep 2011 10:02:57 +0200 Subject: tools/decode: add missing shift to MI_SEM_MBOX decoder Signed-off-by: Daniel Vetter --- 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 ac5193e..d1218cd 100644 --- a/tools/intel_decode.c +++ b/tools/intel_decode.c @@ -148,7 +148,7 @@ decode_mi(uint32_t *data, int count, uint32_t hw_offset, int *failures) data[0] & (1<<21) ? " update semaphore," : "", data[0] & (1<<20) ? " compare semaphore," : "", data[0] & (1<<18) ? " use compare reg" : "", - data[0] & (0x3<<16)); + (data[0] & (0x3<<16)) >> 16); instr_out(data, hw_offset, 1, "value\n"); instr_out(data, hw_offset, 2, "address\n"); return len; -- cgit v1.2.3