projects
/
profile
/
extras
/
intel-gpu-tools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b7ccea0
)
intel_reg_dumper: fix "enable" at hsw_debug_lp_wm
author
Paulo Zanoni
<paulo.r.zanoni@intel.com>
Mon, 21 Oct 2013 15:19:57 +0000
(13:19 -0200)
committer
Paulo Zanoni
<paulo.r.zanoni@intel.com>
Mon, 21 Oct 2013 15:28:11 +0000
(13:28 -0200)
Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
tools/intel_reg_dumper.c
patch
|
blob
|
history
diff --git
a/tools/intel_reg_dumper.c
b/tools/intel_reg_dumper.c
index
1f4e877
..
e67d5a8
100644
(file)
--- a/
tools/intel_reg_dumper.c
+++ b/
tools/intel_reg_dumper.c
@@
-1801,7
+1801,7
@@
DEBUGSTRING(hsw_debug_lp_wm)
const char *enable;
uint32_t latency, fbc, pri, cur;
- enable = (
val & 3
1) ? "enabled" : "disabled";
+ enable = (
(val >> 31) &
1) ? "enabled" : "disabled";
latency = (val >> 24) & 0x7F;
fbc = (val >> 20) & 0xF;
pri = (val >> 8) & 0x3FF;