drm/i915: Set correct TV detection voltage level override values
authorMa Ling <ling.ma@intel.com>
Sun, 31 May 2009 08:58:32 +0000 (16:58 +0800)
committerEric Anholt <eric@anholt.net>
Fri, 5 Jun 2009 12:53:26 +0000 (12:53 +0000)
commitcb66c692d1ae257f32dc7f6085cf9cb9f2f6bab8
treec707469433b04eaf3e1ed245d51c301b4eb1274e
parent541998a18b72d2cac48b3369fa4540116ff3f0a8
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>
drivers/gpu/drm/i915/i915_reg.h
drivers/gpu/drm/i915/intel_tv.c