diff options
author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2011-09-28 10:02:57 +0200 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2011-09-28 10:02:57 +0200 |
commit | a2dfbbf3e70767bc4c67c18c9c14ab4f9646155e (patch) | |
tree | 166eb723504cda3668be6cb47a63e51afdd82bd4 | |
parent | 17ceccedbf8c09368b72ecc4afe12f0d1e63837e (diff) |
tools/decode: add missing shift to MI_SEM_MBOX decoder
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
-rw-r--r-- | tools/intel_decode.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |