diff options
author | Eric Anholt <eric@anholt.net> | 2007-03-19 13:35:43 -0700 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2007-03-19 13:35:43 -0700 |
commit | 64c14204453bea3f98d19861c450612e718e6c69 (patch) | |
tree | a017405d2ca57b12ca516d7a82a49d2b3b5c4f4c /src/i830_display.c | |
parent | 3ce802414a20ca8af128a00e6925a099dd90ceb4 (diff) |
Print the mode actually being set per pipe.
Diffstat (limited to 'src/i830_display.c')
-rw-r--r-- | src/i830_display.c | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/src/i830_display.c b/src/i830_display.c index 98137a22..faa3781e 100644 --- a/src/i830_display.c +++ b/src/i830_display.c @@ -870,8 +870,17 @@ i830_crtc_mode_set(xf86CrtcPtr crtc, DisplayModePtr mode, if (i830_panel_fitter_pipe (pI830) == pipe) OUTREG(PFIT_CONTROL, 0); +#if 1 + xf86DrvMsg(pScrn->scrnIndex, X_INFO, + "Mode for pipe %c:\n", pipe == 0 ? 'A' : 'B'); + xf86PrintModeline(pScrn->scrnIndex, mode); + if (!xf86ModesEqual(mode, adjusted_mode)) { + xf86DrvMsg(pScrn->scrnIndex, X_INFO, + "Adjusted mode for pipe %c:\n", pipe == 0 ? 'A' : 'B'); + xf86PrintModeline(pScrn->scrnIndex, mode); + } i830PrintPll("chosen", &clock); - ErrorF("clock regs: 0x%08x, 0x%08x\n", (int)dpll, (int)fp); +#endif if (dpll & DPLL_VCO_ENABLE) { |