]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Fix CRT hotplug detect by checking really no channels attached
authorZhenyu Wang <zhenyuw@linux.intel.com>
Wed, 11 Nov 2009 02:30:50 +0000 (02:30 +0000)
committerEric Anholt <eric@anholt.net>
Wed, 25 Nov 2009 20:10:18 +0000 (12:10 -0800)
commit98e134ed9a382949315fe312fab78727d645153c
tree8173ad9d2873da07cdd218a0e5637cb3eaa8b03d
parent5e87607a34820d00b72429ce999e57e0e7391288
drm/i915: Fix CRT hotplug detect by checking really no channels attached

For CRT hotplug detect status, we have four test results as blue
channel only, green channel only, both blue and green channel, and
no channel attached. Origin code only marks both blue and green channel
case as connected, but ignore other possible connected states. This one
trys to detect CRT by checking no channel attached case instead.

Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
Signed-off-by: Eric Anholt <eric@anholt.net>
drivers/gpu/drm/i915/intel_crt.c