Update vblank pipe setup when setting a mode.
This commit is contained in:
parent
b5316fb262
commit
36cad3fcb6
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -3085,10 +3085,6 @@ I830EnterVT(int scrnIndex, int flags)
|
|||
i830DumpRegs (pScrn);
|
||||
i830DescribeOutputConfiguration(pScrn);
|
||||
|
||||
#ifdef XF86DRI
|
||||
I830DRISetVBlankInterrupt (pScrn, TRUE);
|
||||
#endif
|
||||
|
||||
ResetState(pScrn, TRUE);
|
||||
SetHWOperatingState(pScrn);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue