# On branch refs/heads/modesetting # # Updated but not checked in: # (will commit) # # modified: src/i830_xf86Modes.c # # # Untracked files: # (use "git add" to add to commit) # # config.h.in~ # configure.lineno # log # src/Doxyfile # src/emacs.core # src/i830_xf86Modes.c.new # src/log # xf86-video-i810-1.6.4.tar.bz2 # xf86-video-i810-1.6.4.tar.gz # xf86-video-i810-1.6.5.tar.bz2 # xf86-video-i810-1.6.5.tar.gz diff --git a/src/i830_xf86Modes.c b/src/i830_xf86Modes.c index 8c34053..104abc2 100644 --- a/src/i830_xf86Modes.c +++ b/src/i830_xf86Modes.c @@ -340,6 +340,13 @@ i830xf86ValidateModesSync(ScrnInfoPtr pS MonPtr mon) { DisplayModePtr mode; + int i; + + xf86DrvMsg(pScrn->scrnIndex, X_INFO, "vsync ranges:\n"); + for (i = 0; i < mon->nVrefresh; i++) { + xf86DrvMsg(pScrn->scrnIndex, X_INFO, " %.1f - %.1f\n", + mon->vrefresh[i].lo, mon->vrefresh[i].hi); + } for (mode = modeList; mode != NULL; mode = mode->next) { Bool bad; @@ -357,6 +364,9 @@ i830xf86ValidateModesSync(ScrnInfoPtr pS mode->status = MODE_HSYNC; bad = TRUE; + xf86DrvMsg(pScrn->scrnIndex, X_INFO, + "Testing mode with vrefresh %.1f\n", + i830xf86ModeVRefresh(mode) ); for (i = 0; i < mon->nVrefresh; i++) { if (i830xf86ModeVRefresh(mode) >= mon->vrefresh[i].lo && i830xf86ModeVRefresh(mode) <= mon->vrefresh[i].hi)