summaryrefslogtreecommitdiff
path: root/src/nv_dac.c
diff options
context:
space:
mode:
authorAaron Plattner <aplattner@nvidia.com>2007-06-18 12:36:29 -0700
committerAaron Plattner <aplattner@nvidia.com>2007-06-18 12:37:12 -0700
commit24770ccf880f056bc0db9464249caca10692fb56 (patch)
treec55f8772d704bb16b79fc3a005d2e9b405dd2c43 /src/nv_dac.c
parent4e56465a79587c4df6bf1dfd7cc87a4f22707a8f (diff)
Fix some random colormap corruption on DFPs with certain pre-G80 GPUs.
Diffstat (limited to 'src/nv_dac.c')
-rw-r--r--src/nv_dac.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/nv_dac.c b/src/nv_dac.c
index 3fb687f..e1f0740 100644
--- a/src/nv_dac.c
+++ b/src/nv_dac.c
@@ -1,6 +1,6 @@
/***************************************************************************\
|* *|
-|* Copyright 2003 NVIDIA, Corporation. All rights reserved. *|
+|* Copyright 2007 NVIDIA, Corporation. All rights reserved. *|
|* *|
|* NOTICE TO USER: The source code is copyrighted under U.S. and *|
|* international laws. Users and possessors of this source code are *|
@@ -221,6 +221,7 @@ NVDACInit(ScrnInfoPtr pScrn, DisplayModePtr mode)
}
nvReg->crtcSync = pNv->PRAMDAC[0x0828/4];
nvReg->crtcSync += NVDACPanelTweaks(pNv, nvReg);
+ nvReg->crtcVSync = pNv->fpVTotal - 6;
}
nvReg->vpll = nvReg->pll;