drm/i915: set TV detection mode when tv is already connected
authorling.ma@intel.com <ling.ma@intel.com>
Mon, 22 Jun 2009 14:08:35 +0000 (22:08 +0800)
committerEric Anholt <eric@anholt.net>
Tue, 23 Jun 2009 03:27:47 +0000 (20:27 -0700)
commit8ed9a5bc9c9425ef93a1b03b418300a5e18b2361
tree9e37fe1bbae0b60654a4b0f77d76c5f145aa9718
parent921809a5831821eaf86e799c4b3d7c666ee352b1
drm/i915: set TV detection mode when tv is already connected

We used load_detect_temp flag to determine whether to set tv to the test
mode. However if the TV already has a mode set, we still need to set the
test mode to determine connection.  This results in blinking, but there is
no other reliable way to determine TV connection.

freedesktop.org bug #22035

Signed-off-by: Ma Ling <ling.ma@intel.com>
Signed-off-by: Eric Anholt <eric@anholt.net>
drivers/gpu/drm/i915/intel_tv.c