* [PATCH] RandR12: Fix flat panel dithering when NVArch != 0x11
@ 2007-12-09 16:12 Jaime Velasco Juan
0 siblings, 0 replies; only message in thread
From: Jaime Velasco Juan @ 2007-12-09 16:12 UTC (permalink / raw)
To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW
commit 2d3ad64b5feeb6966a67317c1fc9bbedfba4b717
Author: Jaime Velasco Juan <jsagarribay-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
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;
}
}
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2007-12-09 16:12 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-12-09 16:12 [PATCH] RandR12: Fix flat panel dithering when NVArch != 0x11 Jaime Velasco Juan
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.