summaryrefslogtreecommitdiff
path: root/src/smi_driver.c
diff options
context:
space:
mode:
authorFrancisco Jerez <currojerez@riseup.net>2009-04-21 21:37:45 +0200
committerFrancisco Jerez <currojerez@riseup.net>2009-04-21 21:47:11 +0200
commitabf1ba79f2bfe61f24cfa43deb0400d7c5f95bd5 (patch)
treec978c762266c79fc3a439629f4b0fa7ad37dbe92 /src/smi_driver.c
parent41e5c49024d4e27a7be3da02017000a22b59016f (diff)
Increase the maximum clock value to 200MHz on SM712.
The default MCLK setting was higher than the clock limit, and it failed.
Diffstat (limited to 'src/smi_driver.c')
-rw-r--r--src/smi_driver.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/smi_driver.c b/src/smi_driver.c
index ac1a952..7219612 100644
--- a/src/smi_driver.c
+++ b/src/smi_driver.c
@@ -918,8 +918,7 @@ SMI_PreInit(ScrnInfoPtr pScrn, int flags)
pSmi->clockRange.next = NULL;
pSmi->clockRange.minClock = 20000;
- if (pSmi->Chipset == SMI_LYNX3DM ||
- pSmi->Chipset == SMI_COUGAR3DR ||
+ if (SMI_LYNXM_SERIES(pSmi->Chipset) ||
IS_MSOC(pSmi))
pSmi->clockRange.maxClock = 200000;
else