--- xf86-video-ati-6.6.1/src/radeon_driver.c.dotclock-filter 2006-06-26 18:40:29.000000000 -0400
+++ xf86-video-ati-6.6.1/src/radeon_driver.c 2006-06-26 18:41:55.000000000 -0400
@@ -3739,7 +3739,7 @@
{
MonPtr mon = pScrn->monitor;
xf86MonPtr ddc = mon->DDC;
- int i;
+ int i, clock;
if (flag) { /* HSync */
for (i = 0; i < 4; i++) {
@@ -3747,6 +3747,9 @@
mon->nHsync = 1;
mon->hsync[0].lo = ddc->det_mon[i].section.ranges.min_h;
mon->hsync[0].hi = ddc->det_mon[i].section.ranges.max_h;
+ clock = ddc->det_mon[i].section.ranges.max_clock * 1000;
+ if (clock > mon->maxPixClock)
+ mon->maxPixClock = clock;
return;
}
}
@@ -3793,6 +3796,9 @@
mon->nVrefresh = 1;
mon->vrefresh[0].lo = ddc->det_mon[i].section.ranges.min_v;
mon->vrefresh[0].hi = ddc->det_mon[i].section.ranges.max_v;
+ clock = ddc->det_mon[i].section.ranges.max_clock * 1000;
+ if (clock > mon->maxPixClock)
+ mon->maxPixClock = clock;
return;
}
}