summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Plattner <aplattner@nvidia.com>2007-07-10 11:54:33 -0700
committerAaron Plattner <aplattner@nvidia.com>2008-01-24 18:36:26 -0800
commit1a343c42a80f8c0dc9ba6158f79602b9434d07f0 (patch)
tree8a964927bb7e2f238895260d8f389eb603a26969
parentb5f1eefda4e8a90970c7bea0093d28bf7167f77f (diff)
Bug #4686: Fix a minor GeForceFX + flatpanel + video overlay corruption issue.
This change was originally in XFree86 CVS, nv_dac.c version 1.36 but got reverted accidentally. (cherry picked from commit ec78618d685759a39d386e9929661037b167fe68)
-rw-r--r--src/nv_dac.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/nv_dac.c b/src/nv_dac.c
index e1f0740..7e8340d 100644
--- a/src/nv_dac.c
+++ b/src/nv_dac.c
@@ -118,7 +118,9 @@ NVDACInit(ScrnInfoPtr pScrn, DisplayModePtr mode)
vertBlankStart = vertStart;
horizStart = horizTotal - 5;
horizEnd = horizTotal - 2;
- horizBlankEnd = horizTotal + 4;
+ horizBlankEnd = horizTotal + 4;
+ if(pNv->Architecture == NV_ARCH_30)
+ horizTotal += 2;
}
pVga->CRTC[0x0] = Set8Bits(horizTotal);