xf86-video-ati: Branch 'master'
Alex Deucher
agd5f at kemper.freedesktop.org
Wed Feb 13 09:53:54 PST 2008
src/radeon_output.c | 5 +++++
1 file changed, 5 insertions(+)
New commits:
commit ed87f367ddab7366f84917b43b31d76df4ce1110
Author: Alex Deucher <alex at botch2.(none)>
Date: Wed Feb 13 12:53:46 2008 -0500
RADEON: disable LVDS if panel size is 0x0
if we can't get the panel size from the bios or edid
or a user specified option, assume it's not connected.
diff --git a/src/radeon_output.c b/src/radeon_output.c
index 50bceba..aceb3d8 100644
--- a/src/radeon_output.c
+++ b/src/radeon_output.c
@@ -390,6 +390,11 @@ void RADEONConnectorFindMonitor(ScrnInfoPtr pScrn, xf86OutputPtr output)
if (radeon_output->MonType == MT_LCD || radeon_output->MonType == MT_DFP)
RADEONUpdatePanelSize(output);
+ /* panel is probably busted or not connected */
+ if ((radeon_output->MonType == MT_LCD) &&
+ ((radeon_output->PanelXRes == 0) || (radeon_output->PanelYRes == 0)))
+ radeon_output->MonType == MT_NONE;
+
if (output->MonInfo) {
xf86DrvMsg(pScrn->scrnIndex, X_INFO, "EDID data from the display on output: %s ----------------------\n",
output->name);
More information about the xorg-commit
mailing list