summaryrefslogtreecommitdiff
path: root/src/nv_hw.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_hw.c
parent4e56465a79587c4df6bf1dfd7cc87a4f22707a8f (diff)
Fix some random colormap corruption on DFPs with certain pre-G80 GPUs.
Diffstat (limited to 'src/nv_hw.c')
-rw-r--r--src/nv_hw.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/nv_hw.c b/src/nv_hw.c
index ae499fa..63f9067 100644
--- a/src/nv_hw.c
+++ b/src/nv_hw.c
@@ -1501,6 +1501,7 @@ void NVLoadStateExt (
} else {
pNv->PRAMDAC[0x0848/4] = state->scale;
pNv->PRAMDAC[0x0828/4] = state->crtcSync;
+ pNv->PRAMDAC[0x0808/4] = state->crtcVSync;
}
pNv->PRAMDAC[0x0600/4] = state->general;
@@ -1588,6 +1589,7 @@ void NVUnloadStateExt
if(pNv->FlatPanel) {
state->crtcSync = pNv->PRAMDAC[0x0828/4];
+ state->crtcVSync = pNv->PRAMDAC[0x0808/4];
}
}