]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/lvds: Always return connected in the absence of better information
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 24 Mar 2011 13:26:43 +0000 (13:26 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Thu, 24 Mar 2011 18:39:55 +0000 (18:39 +0000)
commitc6dd717d57dda848395c1d110cd7e6af5d05dced
treed811adb8ae7530f98c29e110611a751d8b229f06
parent32dd4b9ac134da82c3c4d03243bb06badc88be52
drm/i915/lvds: Always return connected in the absence of better information

The LVDS connector should default to connected. We tried our best to
verify the claims of the BIOS that the hardware exists during init(),
and then during detect() we then try to verify that the panel is open.
In the event of an unsuccessful query, we should then always report
that the LVDS panel is connected. This was only the case for gen2/3,
later generations leaked the return value from the panel probe instead.

Reported-and-tested-by: Alessandro Suardi <alessandro.suardi@gmail.com>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Keith Packard <keithp@keithp.com>
drivers/gpu/drm/i915/intel_lvds.c