xf86-video-nv: src/nv_driver.c

Aaron Plattner aplattner at kemper.freedesktop.org
Fri Nov 30 17:45:14 PST 2007


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

New commits:
commit 7f281be7e53ac274016a6af6b2b5dc6f8bddb810
Author: Aaron Plattner <aplattner at nvidia.com>
Date:   Fri Nov 30 17:37:20 2007 -0800

    Bug #7309: Delay after disabling cursor to avoid wedging the cursor hardware on GeForce 6150.

diff --git a/src/nv_driver.c b/src/nv_driver.c
index 265979e..4bcc391 100644
--- a/src/nv_driver.c
+++ b/src/nv_driver.c
@@ -2134,8 +2134,10 @@ NVRestore(ScrnInfoPtr pScrn)
     NVPtr pNv = NVPTR(pScrn);
     NVRegPtr nvReg = &pNv->SavedReg;
 
-    if(pNv->HWCursor)
+    if(pNv->HWCursor) {
         NVShowHideCursor(pNv, 0);
+        sleep(1);
+    }
     NVLockUnlock(pNv, 0);
 
     if(pNv->twoHeads) {


More information about the xorg-commit mailing list