mirror of
https://github.com/X11Libre/xf86-video-r128.git
synced 2026-03-24 01:24:26 +00:00
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.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user