summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Plattner <aplattner@nvidia.com>2007-03-16 16:14:00 -0700
committerAaron Plattner <aplattner@nvidia.com>2007-03-16 16:14:00 -0700
commit4d15dd2c490cce739f2eb1474019c723da8ce32b (patch)
treecf264387b8afe64dbd0a95dbfc4510aa546d68ad
parent90c53c5322e50bce06996e3c857e6bf7531235d4 (diff)
Avoid hanging when switching modes on some nv4x cards.
SUSE bug #235171.
-rw-r--r--src/nv_driver.c2
1 files changed, 2 insertions, 0 deletions
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, DisplayModePtr mode)
NVPtr pNv = NVPTR(pScrn);
NVRegPtr nvReg;
+ NVSync(pScrn);
+
/* Initialise the ModeReg values */
if (!vgaHWInit(pScrn, mode))
return FALSE;