xpra icon
Bug tracker and wiki

Ticket #969: dummy-dac-fix.patch

File dummy-dac-fix.patch, 831 bytes (added by Antoine Martin, 4 years ago)

fix for the dummy driver to honour DacSpeed?

  • src/dummy_driver.c

    diff --git a/src/dummy_driver.c b/src/dummy_driver.c
    index 6062c39..470e125 100644
    a b DUMMYPreInit(ScrnInfoPtr pScrn, int flags) 
    281281    ClockRangePtr clockRanges;
    282282    int i;
    283283    DUMMYPtr dPtr;
    284     int maxClock = 230000;
     284    int maxClock = 300000;
    285285    GDevPtr device = xf86GetEntityInfo(pScrn->entityList[0])->device;
    286286
    287287    if (flags & PROBE_DETECT)
    DUMMYPreInit(ScrnInfoPtr pScrn, int flags) 
    391391    clockRanges->next = NULL;
    392392    clockRanges->ClockMulFactor = 1;
    393393    clockRanges->minClock = 11000;   /* guessed §§§ */
    394     clockRanges->maxClock = 300000;
     394    clockRanges->maxClock = maxClock;
    395395    clockRanges->clockIndex = -1;               /* programmable */
    396396    clockRanges->interlaceAllowed = TRUE;
    397397    clockRanges->doubleScanAllowed = TRUE;