rendered paste body[stijn@hermes ~]$ cat src/xf86-video-intel/bios-mode-information.patch
commit ae56eda40dd9289e1b3922ebc300f6fda8fe2072
Author: Eric Anholt <eric@anholt.net>
Date: Thu Aug 9 14:47:14 2007 -0700
i830_lvds.c: Use the BIOS mode instead of the probed one.
diff --git a/src/i830_lvds.c b/src/i830_lvds.c
index 18e5c2b..e4fca8b 100644
--- a/src/i830_lvds.c
+++ b/src/i830_lvds.c
@@ -584,13 +584,14 @@ i830_lvds_init(ScrnInfoPtr pScrn)
{
xf86DrvMsg(pScrn->scrnIndex, X_WARNING,
"BIOS panel mode data doesn't match probed data, "
- "continuing with probed.\n");
+ "continuing with BIOS.\n");
xf86DrvMsg(pScrn->scrnIndex, X_INFO, "BIOS mode:\n");
xf86PrintModeline(pScrn->scrnIndex, bios_mode);
xf86DrvMsg(pScrn->scrnIndex, X_INFO, "probed mode:\n");
xf86PrintModeline(pScrn->scrnIndex, dev_priv->panel_fixed_mode);
- xfree(bios_mode->name);
- xfree(bios_mode);
+ xfree(dev_priv->panel_fixed_mode->name);
+ xfree(dev_priv->panel_fixed_mode);
+ dev_priv->panel_fixed_mode = bios_mode;
}
} else {
dev_priv->panel_fixed_mode = bios_mode;