From: Jaime Velasco Juan <jsagarribay-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
Subject: [PATCH] RandR12: Fix flat panel dithering when NVArch != 0x11
Date: Sun, 9 Dec 2007 16:12:02 +0000 [thread overview]
Message-ID: <20071209161202.GA9689@singular.local> (raw)
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;
}
}
reply other threads:[~2007-12-09 16:12 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20071209161202.GA9689@singular.local \
--to=jsagarribay-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
--cc=nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.