diff options
Diffstat (limited to 'src')
-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; |