xf86-video-nv: src/nv_driver.c

Aaron Plattner aplattner at kemper.freedesktop.org
Sat Mar 17 01:14:11 EET 2007


 src/nv_driver.c |    2 ++
 1 files changed, 2 insertions(+)

New commits:
diff-tree 4d15dd2c490cce739f2eb1474019c723da8ce32b (from 90c53c5322e50bce06996e3c857e6bf7531235d4)
Author: Aaron Plattner <aplattner at nvidia.com>
Date:   Fri Mar 16 16:14:00 2007 -0700

    Avoid hanging when switching modes on some nv4x cards.
    
    SUSE bug #235171.

diff --git a/src/nv_driver.c b/src/nv_driver.c
index 97bc8ff..4b07505 100644
--- a/src/nv_driver.c
+++ b/src/nv_driver.c
@@ -1736,6 +1736,8 @@ NVModeInit(ScrnInfoPtr pScrn, DisplayMod
     NVPtr pNv = NVPTR(pScrn);
     NVRegPtr nvReg;
 
+    NVSync(pScrn);
+
     /* Initialise the ModeReg values */
     if (!vgaHWInit(pScrn, mode))
 	return FALSE;



More information about the xorg-commit mailing list