diff options
author | Michel Dänzer <michel@tungstengraphics.com> | 2007-02-28 17:52:42 +0100 |
---|---|---|
committer | Michel Dänzer <michel@tungstengraphics.com> | 2007-02-28 17:52:42 +0100 |
commit | 36cad3fcb65e3dcd88e58e301cd60adb121cb96b (patch) | |
tree | 220a48c41205ba898bf14880e64da410168eb08a /src/i830_display.c | |
parent | b5316fb2623e9630cbd58020e0a7c95bf354c587 (diff) |
Update vblank pipe setup when setting a mode.
Diffstat (limited to 'src/i830_display.c')
-rw-r--r-- | src/i830_display.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/i830_display.c b/src/i830_display.c index 258897ee..04159e73 100644 --- a/src/i830_display.c +++ b/src/i830_display.c @@ -864,6 +864,9 @@ i830_crtc_mode_set(xf86CrtcPtr crtc, DisplayModePtr mode, OUTREG(dspcntr_reg, dspcntr); /* Flush the plane changes */ i830PipeSetBase(crtc, x, y); +#ifdef XF86DRI + I830DRISetVBlankInterrupt (pScrn, TRUE); +#endif i830WaitForVblank(pScrn); } @@ -1041,9 +1044,6 @@ i830SetMode(ScrnInfoPtr pScrn, DisplayModePtr pMode, Rotation rotation) i830DescribeOutputConfiguration(pScrn); -#ifdef XF86DRI - I830DRISetVBlankInterrupt (pScrn, TRUE); -#endif done: i830DumpRegs (pScrn); i830_sdvo_dump(pScrn); |