From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
To: Andrew Morton <akpm@linux-foundation.org>
Cc: linux-fbdev-devel@lists.sourceforge.net
Subject: Re: [PATCH] radeon: P2G2CLK_ALWAYS_ONb tested twice, should 2nd be P2G2CLK_DAC_ALWAYS_ONb?
Date: Thu, 28 May 2009 17:11:06 +1000 [thread overview]
Message-ID: <1243494666.3171.123.camel@pasglop> (raw)
In-Reply-To: <20090527235420.943cabfe.akpm@linux-foundation.org>
On Wed, 2009-05-27 at 23:54 -0700, Andrew Morton wrote:
> On Fri, 15 May 2009 22:45:27 +0200 Roel Kluin <roel.kluin@gmail.com> wrote:
>
> > P2G2CLK_ALWAYS_ONb is tested twice, 2nd should be P2G2CLK_DAC_ALWAYS_ONb.
> >
> > Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
> > ---
> > Is this correct? I am only guessing. Please review.
>
> Nobody knows?
It looks ok, I've acked it, we'll see how it goes :-)
Cheers,
Ben.
> > diff --git a/drivers/video/aty/radeon_pm.c b/drivers/video/aty/radeon_pm.c
> > index 97a1f09..100112f 100644
> > --- a/drivers/video/aty/radeon_pm.c
> > +++ b/drivers/video/aty/radeon_pm.c
> > @@ -395,7 +395,7 @@ static void radeon_pm_enable_dynamic_mode(struct radeonfb_info *rinfo)
> > PIXCLKS_CNTL__R300_PIXCLK_TRANS_ALWAYS_ONb |
> > PIXCLKS_CNTL__R300_PIXCLK_TVO_ALWAYS_ONb |
> > PIXCLKS_CNTL__R300_P2G2CLK_ALWAYS_ONb |
> > - PIXCLKS_CNTL__R300_P2G2CLK_ALWAYS_ONb);
> > + PIXCLKS_CNTL__R300_P2G2CLK_DAC_ALWAYS_ONb);
> > OUTPLL(pllPIXCLKS_CNTL, tmp);
> >
> > tmp = INPLL(pllMCLK_MISC);
>
> The same thing happens at line 215:
>
> tmp &= ~(PIXCLKS_CNTL__PIX2CLK_ALWAYS_ONb |
> PIXCLKS_CNTL__PIX2CLK_DAC_ALWAYS_ONb |
> PIXCLKS_CNTL__DISP_TVOUT_PIXCLK_TV_ALWAYS_ONb |
> PIXCLKS_CNTL__R300_DVOCLK_ALWAYS_ONb |
> PIXCLKS_CNTL__PIXCLK_BLEND_ALWAYS_ONb |
> PIXCLKS_CNTL__PIXCLK_GV_ALWAYS_ONb |
> PIXCLKS_CNTL__R300_PIXCLK_DVO_ALWAYS_ONb |
> PIXCLKS_CNTL__PIXCLK_LVDS_ALWAYS_ONb |
> PIXCLKS_CNTL__PIXCLK_TMDS_ALWAYS_ONb |
> PIXCLKS_CNTL__R300_PIXCLK_TRANS_ALWAYS_ONb |
> PIXCLKS_CNTL__R300_PIXCLK_TVO_ALWAYS_ONb |
> PIXCLKS_CNTL__R300_P2G2CLK_ALWAYS_ONb |
> PIXCLKS_CNTL__R300_P2G2CLK_ALWAYS_ONb |
> PIXCLKS_CNTL__R300_DISP_DAC_PIXCLK_DAC2_BLANK_OFF);
>
> but that's easier to fix.
------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, &
iPhoneDevCamp as they present alongside digital heavyweights like Barbarian
Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com
prev parent reply other threads:[~2009-05-28 7:11 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-05-15 20:45 [PATCH] radeon: P2G2CLK_ALWAYS_ONb tested twice, should 2nd be P2G2CLK_DAC_ALWAYS_ONb? Roel Kluin
2009-05-28 6:54 ` Andrew Morton
2009-05-28 7:11 ` Benjamin Herrenschmidt [this message]
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=1243494666.3171.123.camel@pasglop \
--to=benh@kernel.crashing.org \
--cc=akpm@linux-foundation.org \
--cc=linux-fbdev-devel@lists.sourceforge.net \
/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).