xf86-video-intel: src/i830_driver.c

Alan Hourihane alanh at kemper.freedesktop.org
Mon Aug 28 03:55:49 PDT 2006


 src/i830_driver.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletion(-)

New commits:
diff-tree 26e6c074c17b2d4e9b9f165468ad45a3b0ecc0ef (from ea63e82ef417a9918e7d7105910a8ddeba2994f6)
Author: Alan Hourihane <alanh at fairlite.demon.co.uk>
Date:   Mon Aug 28 11:55:38 2006 +0100

    Fix SetVBlank to operate all the time

diff --git a/src/i830_driver.c b/src/i830_driver.c
index c0d9672..cebb379 100644
--- a/src/i830_driver.c
+++ b/src/i830_driver.c
@@ -8079,13 +8079,15 @@ I830BIOSEnterVT(int scrnIndex, int flags
 
 #ifdef XF86DRI
    if (pI830->directRenderingEnabled) {
+
+      I830DRISetVBlankInterrupt (pScrn, TRUE);
+
       if (!pI830->starting) {
          ScreenPtr pScreen = pScrn->pScreen;
          drmI830Sarea *sarea = (drmI830Sarea *) DRIGetSAREAPrivate(pScreen);
          int i;
 
 	 I830DRIResume(screenInfo.screens[scrnIndex]);
-         I830DRISetVBlankInterrupt (pScrn, TRUE);
       
 	 I830RefreshRing(pScrn);
 	 I830Sync(pScrn);



More information about the xorg-commit mailing list