diff options
author | Ma Ling <ling.ma@intel.com> | 2009-05-31 10:58:32 +0200 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2009-06-05 14:53:26 +0200 |
commit | cb66c692d1ae257f32dc7f6085cf9cb9f2f6bab8 (patch) | |
tree | c707469433b04eaf3e1ed245d51c301b4eb1274e /drivers/gpu/drm/i915/intel_tv.c | |
parent | drm/i915: Add LVDS support for IGDNG (diff) | |
download | linux-cb66c692d1ae257f32dc7f6085cf9cb9f2f6bab8.tar.xz linux-cb66c692d1ae257f32dc7f6085cf9cb9f2f6bab8.zip |
drm/i915: Set correct TV detection voltage level override values
We detect TV connect status by setting DAC voltage level override
values as 0.7 voltage for DAC_A/B/C. The corresponding 2-bits shold be 0x2,
In order correctly to set last bit as 0, at first we must clean it.
It fixed freedesktop.org bug #21204
Signed-off-by: Ma Ling <ling.ma@intel.com>
Signed-off-by: Eric Anholt <eric@anholt.net>
Diffstat (limited to 'drivers/gpu/drm/i915/intel_tv.c')
-rw-r--r-- | drivers/gpu/drm/i915/intel_tv.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/intel_tv.c b/drivers/gpu/drm/i915/intel_tv.c index d2c32983242d..c7d9ef01dbf6 100644 --- a/drivers/gpu/drm/i915/intel_tv.c +++ b/drivers/gpu/drm/i915/intel_tv.c @@ -1392,6 +1392,9 @@ intel_tv_detect_type (struct drm_crtc *crtc, struct intel_output *intel_output) tv_ctl &= ~TV_TEST_MODE_MASK; tv_ctl |= TV_TEST_MODE_MONITOR_DETECT; tv_dac &= ~TVDAC_SENSE_MASK; + tv_dac &= ~DAC_A_MASK; + tv_dac &= ~DAC_B_MASK; + tv_dac &= ~DAC_C_MASK; tv_dac |= (TVDAC_STATE_CHG_EN | TVDAC_A_SENSE_CTL | TVDAC_B_SENSE_CTL | |