diff options
author | Antoine Martin <antoine@nagafix.co.uk> | 2015-09-17 10:55:25 -0400 |
---|---|---|
committer | Adam Jackson <ajax@redhat.com> | 2015-09-17 10:55:25 -0400 |
commit | 29433844c8b8989ea2ac64bd92b3ad61b6f9cf10 (patch) | |
tree | 10e39fcf20d8cf901354af5a222e6f98b15f35dd | |
parent | 0e339b256a858bfd832c92e3c14619023dea826c (diff) |
Honor DacSpeed setting in xorg.conf
Reviewed-by: Adam Jackson <ajax@redhat.com>
Signed-off-by: Antoine Martin <antoine@nagafix.co.uk>
-rw-r--r-- | src/dummy_driver.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dummy_driver.c b/src/dummy_driver.c index 6062c39..470e125 100644 --- a/src/dummy_driver.c +++ b/src/dummy_driver.c @@ -281,7 +281,7 @@ DUMMYPreInit(ScrnInfoPtr pScrn, int flags) ClockRangePtr clockRanges; int i; DUMMYPtr dPtr; - int maxClock = 230000; + int maxClock = 300000; GDevPtr device = xf86GetEntityInfo(pScrn->entityList[0])->device; if (flags & PROBE_DETECT) @@ -391,7 +391,7 @@ DUMMYPreInit(ScrnInfoPtr pScrn, int flags) clockRanges->next = NULL; clockRanges->ClockMulFactor = 1; clockRanges->minClock = 11000; /* guessed ยงยงยง */ - clockRanges->maxClock = 300000; + clockRanges->maxClock = maxClock; clockRanges->clockIndex = -1; /* programmable */ clockRanges->interlaceAllowed = TRUE; clockRanges->doubleScanAllowed = TRUE; |