summaryrefslogtreecommitdiff
path: root/src/i830_lvds.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/i830_lvds.c')
-rw-r--r--src/i830_lvds.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/i830_lvds.c b/src/i830_lvds.c
index 1562c217..48402dfa 100644
--- a/src/i830_lvds.c
+++ b/src/i830_lvds.c
@@ -1228,6 +1228,14 @@ i830_lvds_init(ScrnInfoPtr pScrn)
*/
I830I2CInit(pScrn, &intel_output->pDDCBus, GPIOC, "LVDSDDC_C");
+ if (!pI830->lvds_fixed_mode) {
+ xf86DrvMsg(pScrn->scrnIndex, X_INFO,
+ "Skipping any attempt to determine panel fixed mode.\n");
+ goto skip_panel_fixed_mode_setup;
+ }
+ xf86DrvMsg(pScrn->scrnIndex, X_INFO,
+ "Attempting to determine panel fixed mode.\n");
+
/* Attempt to get the fixed panel mode from DDC. Assume that the preferred
* mode is the right one.
*/
@@ -1311,6 +1319,8 @@ i830_lvds_init(ScrnInfoPtr pScrn)
goto disable_exit;
}
+ skip_panel_fixed_mode_setup:
+
/* Blacklist machines with BIOSes that list an LVDS panel without actually
* having one.
*/