summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntoine Martin <antoine@nagafix.co.uk>2015-09-17 10:55:25 -0400
committerAdam Jackson <ajax@redhat.com>2015-09-17 10:55:25 -0400
commit29433844c8b8989ea2ac64bd92b3ad61b6f9cf10 (patch)
tree10e39fcf20d8cf901354af5a222e6f98b15f35dd
parent0e339b256a858bfd832c92e3c14619023dea826c (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.c4
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;