From: "Paul A. Clarke" <pc@us.ibm.com>
To: linux-fbdev-devel@lists.sourceforge.net, jsimmons@infradead.org,
Petr Vandrovec <petr@vandrovec.name>
Subject: Re: [PATCH] matroxfb: another attempt to rectify jitter (G450/G550)
Date: Wed, 31 Jan 2007 15:58:11 -0600 [thread overview]
Message-ID: <45C110F3.10202@us.ibm.com> (raw)
In-Reply-To: <20070131115430.GB5039@sci.fi>
Ville Syrjälä wrote:
> On Tue, Jan 30, 2007 at 02:22:37PM -0600, Paul A. Clarke wrote:
> snip...
>> + /* DVI PLL preferred for frequencies up to panellink max, standard PLL
>> otherwise */
>> + if (fout >= MINFO->max_pixel_clock_panellink) tmp = 0;
>> + else tmp =
>> + M1064_XDVICLKCTRL_DVIDATAPATHSEL |
>> + M1064_XDVICLKCTRL_C1DVICLKSEL |
>> + M1064_XDVICLKCTRL_C1DVICLKEN |
>
> Shouldn't this check which CRTC is driving the DVI?
If I read the code correctly, I don't see any way this code gets invoked for CRTC2. __g450_setclk() is only called by
matroxfb_g450_setclk(), which is in turn called in 8 places:
- 2 with pll == M_VIDEO_PLL (a different case in the enclosing switch)
- 1 with pll == M_SYSTEM_PLL (a different case in the enclosing switch)
- 3 which if (m->crtc != MATROXFB_SRC_CRTC1) then pll == M_VIDEO_PLL
- 2 with M_PIXEL_PLL_A and M_PIXEL_PLL_B (once each) at init time to set legacy VGA clocks with both CRTCs disabled
>> + M1064_XDVICLKCTRL_DVILOOPCTL |
>> + M1064_XDVICLKCTRL_P1LOOPBWDTCTL;
>> + matroxfb_DAC_out(PMINFO M1064_XDVICLKCTRL,tmp);
>> matroxfb_DAC_out(PMINFO M1064_XPWRCTRL, xpwrctrl);
>>
>> matroxfb_DAC_unlock_irqrestore(flags);
I'll also admit that my level of expertise here is not what I'd prefer, but my (perhaps suboptimal) testing showed good results.
--
Regards,
Paul Clarke
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
next prev parent reply other threads:[~2007-01-31 21:59 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-01-23 0:17 [PATCH] matroxfb: another attempt to rectify jitter (G450/G550) Paul A. Clarke
[not found] ` <45BC58E9.9020306@vandrovec.name>
2007-01-30 20:22 ` Paul A. Clarke
2007-01-31 11:54 ` Ville Syrjälä
2007-01-31 21:58 ` Paul A. Clarke [this message]
2007-01-31 22:25 ` Ville Syrjälä
2007-02-15 20:47 ` Paul A. Clarke
2007-02-16 17:29 ` Ville Syrjälä
2007-02-17 6:34 ` Petr Vandrovec
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=45C110F3.10202@us.ibm.com \
--to=pc@us.ibm.com \
--cc=jsimmons@infradead.org \
--cc=linux-fbdev-devel@lists.sourceforge.net \
--cc=petr@vandrovec.name \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).