diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2010-09-05 10:53:12 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2010-09-05 10:53:12 +0100 |
commit | a462fa6e29bf64fd64d94274775f33b9918f5cbb (patch) | |
tree | fc45c6f400106ecc90800cc5d420076b9e850008 | |
parent | c935c6021449fa442c51858e3d9cd79e1cec62ab (diff) |
reg dumper: Fix ilk panel fitter filter shift
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
-rw-r--r-- | tools/intel_reg_dumper.c | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/tools/intel_reg_dumper.c b/tools/intel_reg_dumper.c index 6f6fe36d..52052301 100644 --- a/tools/intel_reg_dumper.c +++ b/tools/intel_reg_dumper.c @@ -1258,13 +1258,13 @@ DEBUGSTRING(ironlake_debug_panel_fitting) case 0: filter_sel = "programmed"; break; - case (1 << 25): + case (1 << 23): filter_sel = "hardcoded"; break; - case (2 << 25): + case (2 << 23): filter_sel = "edge_enhance"; break; - case (3 << 25): + case (3 << 23): filter_sel = "edge_soften"; break; } @@ -1273,9 +1273,12 @@ DEBUGSTRING(ironlake_debug_panel_fitting) "%s, auto_scale %s, auto_scale_cal %s, v_filter %s, vadapt %s, mode %s, filter_sel %s," "chroma pre-filter %s, vert3tap %s, v_inter_invert %s", val & PF_ENABLE ? "enable" : "disable", - val & (1 << 30) ? "no" : "yes", val & (1 << 29) ? "yes" : "no", + val & (1 << 30) ? "no" : "yes", + val & (1 << 29) ? "yes" : "no", val & (1 << 28) ? "bypass" : "enable", - val & (1 << 27) ? "enable" : "disable", vadapt, filter_sel, + val & (1 << 27) ? "enable" : "disable", + vadapt, + filter_sel, val & (1 << 22) ? "enable" : "disable", val & (1 << 21) ? "force" : "auto", val & (1 << 20) ? "field 0" : "field 1"); |