From 94d9c659b71c84db46fa279d9d8736e1589e155c Mon Sep 17 00:00:00 2001 From: Francisco Jerez Date: Tue, 3 Feb 2009 22:18:14 +0100 Subject: Set dualhead to on by default on SM72x chipsets. --- src/smi_driver.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'src/smi_driver.c') diff --git a/src/smi_driver.c b/src/smi_driver.c index 28cecf3..d417ff7 100644 --- a/src/smi_driver.c +++ b/src/smi_driver.c @@ -792,9 +792,13 @@ SMI_PreInit(ScrnInfoPtr pScrn, int flags) pSmi->PciInfo->func); #endif - pSmi->Dualhead = FALSE; - from = X_DEFAULT; + if(pSmi->Chipset == SMI_LYNX3DM && + pScrn->bitsPerPixel == 16) + pSmi->Dualhead = TRUE; + else + pSmi->Dualhead = FALSE; + if (xf86GetOptValBool(pSmi->Options, OPTION_DUALHEAD, &pSmi->Dualhead)) from = X_CONFIG; -- cgit v1.2.3