Skip to contentSkip to conversation

RandR12: Fix flat panel dithering when NVArch != 0x11

PATCH New Jaime Velasco Juan 1 participant 1 message Dec 9, 2007

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 RandR12: Fix flat panel dithering when NVArch != 0x11

commit 2d3ad64b5feeb6966a67317c1fc9bbedfba4b717

Author: Jaime Velasco Juan <[email protected]>
Date:   Sun Dec 9 15:57:27 2007 +0000
    RandR12: Fix flat panel dithering when NVArch != 0x11
src/nv_crtc.c +4 -1
index 772c919..4bd82cd 100644
@@ -1854,7 +1854,10 @@ nv_crtc_mode_set_ramdac_regs(xf86CrtcPtr crtc, DisplayModePtr mode, DisplayModeP
 		/* Instead of 1, several other values are also used: 2, 7, 9 */
 		/* The purpose is unknown */
 		if(pNv->FPDither) {
-			regp->dither = 0x00010000;
+			if (pNv->NVArch == 0x11)
+				regp->dither = 0x00010000;
+			else
+				regp->dither = 0x00000001;
 		}
 	}