EDID: Carp about 1.4 monitors with no preferred refresh rate

You would think, having finally tightened down the spec, that
monitor vendors would bother to implement what the spec actually
mandates.  You would be wrong.
This commit is contained in:
Adam Jackson 2009-06-16 14:58:10 -04:00
parent b2d2af76b4
commit fb882b3da1
1 changed files with 6 additions and 2 deletions

View File

@ -398,8 +398,12 @@ print_detailed_monitor_section(int scrnIndex,
if (r->supported_scaling & SCALING_VSTRETCH)
xf86ErrorF(" vstretch");
xf86ErrorF("\n");
xf86DrvMsg(scrnIndex, X_INFO, "Preferred refresh rate: %d\n",
r->preferred_refresh);
if (r->preferred_refresh)
xf86DrvMsg(scrnIndex, X_INFO, "Preferred refresh rate: %d\n",
r->preferred_refresh);
else
xf86DrvMsg(scrnIndex, X_INFO, "Buggy monitor, no preferred "
"refresh rate given\n");
} else if (r->max_clock != 0) {
xf86ErrorF(" PixClock max %i MHz\n", r->max_clock);
} else {