diff options
author | Aaron Plattner <aplattner@nvidia.com> | 2007-06-18 12:36:29 -0700 |
---|---|---|
committer | Aaron Plattner <aplattner@nvidia.com> | 2007-06-18 12:37:12 -0700 |
commit | 24770ccf880f056bc0db9464249caca10692fb56 (patch) | |
tree | c55f8772d704bb16b79fc3a005d2e9b405dd2c43 /src/nv_setup.c | |
parent | 4e56465a79587c4df6bf1dfd7cc87a4f22707a8f (diff) |
Fix some random colormap corruption on DFPs with certain pre-G80 GPUs.
Diffstat (limited to 'src/nv_setup.c')
-rw-r--r-- | src/nv_setup.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nv_setup.c b/src/nv_setup.c index 71d7955..1bf58e0 100644 --- a/src/nv_setup.c +++ b/src/nv_setup.c @@ -687,6 +687,7 @@ NVCommonSetup(ScrnInfoPtr pScrn) if(pNv->FlatPanel && !pNv->Television) { pNv->fpWidth = pNv->PRAMDAC[0x0820/4] + 1; pNv->fpHeight = pNv->PRAMDAC[0x0800/4] + 1; + pNv->fpVTotal = pNv->PRAMDAC[0x804/4] + 1; pNv->fpSyncs = pNv->PRAMDAC[0x0848/4] & 0x30000033; xf86DrvMsg(pScrn->scrnIndex, X_PROBED, "Panel size is %i x %i\n", pNv->fpWidth, pNv->fpHeight); |