From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Vetter Subject: Re: [PATCH 19/37] drm/i915: add LCPLL control registers Date: Mon, 26 Mar 2012 19:46:55 +0200 Message-ID: <20120326174655.GY4014@phenom.ffwll.local> References: <1332378612-3814-1-git-send-email-eugeni.dodonov@intel.com> <1332378612-3814-20-git-send-email-eugeni.dodonov@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: Received: from mail-wg0-f43.google.com (mail-wg0-f43.google.com [74.125.82.43]) by gabe.freedesktop.org (Postfix) with ESMTP id 51C81A0B43 for ; Mon, 26 Mar 2012 10:46:13 -0700 (PDT) Received: by wgbdr12 with SMTP id dr12so3255729wgb.12 for ; Mon, 26 Mar 2012 10:46:12 -0700 (PDT) In-Reply-To: Content-Disposition: inline List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org Errors-To: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org To: Rodrigo Vivi Cc: intel-gfx@lists.freedesktop.org, Eugeni Dodonov List-Id: intel-gfx@lists.freedesktop.org On Mon, Mar 26, 2012 at 02:42:30PM -0300, Rodrigo Vivi wrote: > LCPLL_PLL_ENABLE should be (0<<31)\ I that case I think we should name it LCPLL_PLL_DISABLE (and use (1<<31) obviously). -Daniel > = > Otherwise > = > Reviewed-by: Rodrigo Vivi > = > On Wed, Mar 21, 2012 at 10:09 PM, Eugeni Dodonov > wrote: > > Those are used to control the display core clock. > > > > Signed-off-by: Eugeni Dodonov > > --- > > =A0drivers/gpu/drm/i915/i915_reg.h | =A0 =A07 +++++++ > > =A01 file changed, 7 insertions(+) > > > > diff --git a/drivers/gpu/drm/i915/i915_reg.h b/drivers/gpu/drm/i915/i91= 5_reg.h > > index 03fb10d..fa9e3a8 100644 > > --- a/drivers/gpu/drm/i915/i915_reg.h > > +++ b/drivers/gpu/drm/i915/i915_reg.h > > @@ -4014,4 +4014,11 @@ > > =A0#define GTCCLK_EN =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A00xC6030 > > =A0#define =A0GTCCLK_EN_ENABLE =A0 =A0 =A0 =A0 =A0 =A0 =A0(1<<0) > > > > +/* LCPLL Control */ > > +#define LCPLL_CTL =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A00x130040 > > +#define =A0LCPLL_PLL_ENABLE =A0 =A0 =A0 =A0 =A0 =A0 =A0(1<<31) > > +#define =A0LCPLL_PLL_LOCK =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0(1<<30) > > +#define =A0LCPLL_CD_CLOCK_DISABLE =A0 =A0 =A0 =A0(1<<25) > > +#define =A0LCPLL_CD2X_CLOCK_DISABLE =A0 =A0 =A0(1<<23) > > + > > =A0#endif /* _I915_REG_H_ */ > > -- > > 1.7.9.2 > > > > _______________________________________________ > > Intel-gfx mailing list > > Intel-gfx@lists.freedesktop.org > > http://lists.freedesktop.org/mailman/listinfo/intel-gfx > = > = > = > -- = > Rodrigo Vivi > Blog: http://blog.vivi.eng.br > GPG: 0x905BE242 @ wwwkeys.pgp.net > _______________________________________________ > Intel-gfx mailing list > Intel-gfx@lists.freedesktop.org > http://lists.freedesktop.org/mailman/listinfo/intel-gfx -- = Daniel Vetter Mail: daniel@ffwll.ch Mobile: +41 (0)79 365 57 48