Jaime Velasco Juan
2007-Dec-09 16:12 UTC
[Nouveau] [PATCH] RandR12: Fix flat panel dithering when NVArch != 0x11
commit 2d3ad64b5feeb6966a67317c1fc9bbedfba4b717 Author: Jaime Velasco Juan <jsagarribay at gmail.com> Date: Sun Dec 9 15:57:27 2007 +0000 RandR12: Fix flat panel dithering when NVArch != 0x11 diff --git a/src/nv_crtc.c b/src/nv_crtc.c index 772c919..4bd82cd 100644 --- a/src/nv_crtc.c +++ b/src/nv_crtc.c @@ -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; } }