summaryrefslogtreecommitdiff
path: root/src/radeon_output.c
diff options
context:
space:
mode:
authorAlex Deucher <alex@t41p.hsd1.va.comcast.net>2007-10-07 19:39:47 -0400
committerAlex Deucher <alex@t41p.hsd1.va.comcast.net>2007-10-07 19:39:47 -0400
commit051435610a66735fd455bbb526fa294fcfe8c0b6 (patch)
tree9f001ba1feae6d10e2327cea09be2e8e74494679 /src/radeon_output.c
parent0b03a73b7dcb4aa192c42f2a4c842d324c358122 (diff)
RADEON: still more LVDS fixes
Seems some laptops need the native mode from the bios for LVDS while others seem to prefer a CVT mode. Add an option to pick the preferred mode. The default it to use the bios table timing.
Diffstat (limited to 'src/radeon_output.c')
-rw-r--r--src/radeon_output.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/radeon_output.c b/src/radeon_output.c
index 8f9135d8..08360052 100644
--- a/src/radeon_output.c
+++ b/src/radeon_output.c
@@ -2440,6 +2440,15 @@ RADEONGetLVDSInfo (xf86OutputPtr output)
}
}
+ info->LVDSBiosNativeMode = TRUE;
+ if (!xf86ReturnOptValBool(info->Options, OPTION_LVDS_BIOS_NATIVE_MODE, TRUE)) {
+ info->LVDSBiosNativeMode = FALSE;
+ xf86DrvMsg(pScrn->scrnIndex, X_INFO, "Using CVT mode for LVDS\n");
+ } else {
+ xf86DrvMsg(pScrn->scrnIndex, X_INFO, "Using LVDS Native Mode\n");
+ }
+
+
/* The panel size we collected from BIOS may not be the
* maximum size supported by the panel. If not, we update
* it now. These will be used if no matching mode can be