From 2ae91f0ffdadfb393d526b94e21914a31aa14232 Mon Sep 17 00:00:00 2001 From: Zhenyu Wang Date: Wed, 29 Oct 2008 20:26:44 +0800 Subject: TV: fix default contrast and saturation modifier Color knobs was set with higher modifier which caused strong color on TV screen. Setting fixed point modifier to default 1.0 makes picture on TV look nicer. --- src/i830_tv.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/i830_tv.c b/src/i830_tv.c index de0e15db..4063588b 100644 --- a/src/i830_tv.c +++ b/src/i830_tv.c @@ -1179,7 +1179,9 @@ i830_tv_mode_set(xf86OutputPtr output, DisplayModePtr mode, (i830_float_to_csc(color_conversion->bv) << 16) | (i830_float_to_luma(color_conversion->av))); - OUTREG(TV_CLR_KNOBS, 0x00606000); + /* 2.6 fixed point value for contrast and saturation modifier, + use 1 as default */ + OUTREG(TV_CLR_KNOBS, 0x00404000); OUTREG(TV_CLR_LEVEL, ((video_levels->black << TV_BLACK_LEVEL_SHIFT) | (video_levels->blank << TV_BLANK_LEVEL_SHIFT))); { -- cgit v1.2.3