summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorZhenyu Wang <zhenyu.z.wang@intel.com>2008-10-29 20:26:44 +0800
committerZhenyu Wang <zhenyu.z.wang@intel.com>2008-11-06 10:46:36 +0800
commit2ae91f0ffdadfb393d526b94e21914a31aa14232 (patch)
treecf4dfb7971d8625ee6c5a4b311a398d1a6bf7fb2 /src
parentc4cab00ef7f57fc27776f53263aacec2edf6f959 (diff)
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.
Diffstat (limited to 'src')
-rw-r--r--src/i830_tv.c4
1 files changed, 3 insertions, 1 deletions
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)));
{