summaryrefslogtreecommitdiff
path: root/tools/intel_reg_decode.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2016-06-29 11:06:09 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2016-06-30 23:06:51 +0100
commit37eec6dae6de794ed318c9f7ab615848d8b10820 (patch)
treeb6581ee2d38d7f57d526a17ce0db7d796f9516a7 /tools/intel_reg_decode.c
parent83faf2b5fb2937d2b1a3c79c2802e4fce91d8652 (diff)
intel_chipset: Convert IS_PINEVIEW to device info
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'tools/intel_reg_decode.c')
-rw-r--r--tools/intel_reg_decode.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/intel_reg_decode.c b/tools/intel_reg_decode.c
index 25365548..71f3ead6 100644
--- a/tools/intel_reg_decode.c
+++ b/tools/intel_reg_decode.c
@@ -392,7 +392,7 @@ DEBUGSTRING(i830_debug_vgacntrl)
DEBUGSTRING(i830_debug_fp)
{
- if (IS_IGD(devid)) {
+ if (IS_PINEVIEW(devid)) {
snprintf(result, len, "n = %d, m1 = %d, m2 = %d",
ffs((val & FP_N_IGD_DIV_MASK) >>
FP_N_DIV_SHIFT) - 1,
@@ -496,7 +496,7 @@ DEBUGSTRING(i830_debug_dpll)
}
#endif
} else {
- if (IS_IGD(devid)) {
+ if (IS_PINEVIEW(devid)) {
p1 = ffs((val & DPLL_FPA01_P1_POST_DIV_MASK_IGD) >>
DPLL_FPA01_P1_POST_DIV_SHIFT_IGD);
} else {