diff options
author | Francisco Jerez <currojerez@riseup.net> | 2009-02-03 22:18:14 +0100 |
---|---|---|
committer | Francisco Jerez <currojerez@riseup.net> | 2009-02-04 02:09:21 +0100 |
commit | 94d9c659b71c84db46fa279d9d8736e1589e155c (patch) | |
tree | c32c9870048d35b46c1938b78385c7dfbf47aa1e | |
parent | 4d98e9c6a6e357ed736cd312a957c1e0a7b1d36b (diff) |
Set dualhead to on by default on SM72x chipsets.
-rw-r--r-- | src/smi_driver.c | 8 |
1 files changed, 6 insertions, 2 deletions
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; |