From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ville =?iso-8859-1?Q?Syrj=E4l=E4?= Subject: Re: [PATCH 25/33] drm/i915: PLL and clock gating registers need an offset on VLV Date: Fri, 25 Jan 2013 18:28:24 +0200 Message-ID: <20130125162824.GI9135@intel.com> References: <1359034198-19678-1-git-send-email-ville.syrjala@linux.intel.com> <1359034198-19678-26-git-send-email-ville.syrjala@linux.intel.com> <20130124224153.GF23080@phenom.ffwll.local> <20130125105115.GQ9135@intel.com> <20130125160651.GL23080@phenom.ffwll.local> <20130125162053.GF9135@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by gabe.freedesktop.org (Postfix) with ESMTP id 3DD2AE63E4 for ; Fri, 25 Jan 2013 08:28:27 -0800 (PST) Content-Disposition: inline In-Reply-To: <20130125162053.GF9135@intel.com> 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: Daniel Vetter Cc: intel-gfx@lists.freedesktop.org List-Id: intel-gfx@lists.freedesktop.org On Fri, Jan 25, 2013 at 06:20:53PM +0200, Ville Syrj=E4l=E4 wrote: > On Fri, Jan 25, 2013 at 05:06:51PM +0100, Daniel Vetter wrote: > > On Fri, Jan 25, 2013 at 12:51:15PM +0200, Ville Syrj=E4l=E4 wrote: > > > On Thu, Jan 24, 2013 at 11:41:53PM +0100, Daniel Vetter wrote: > > > > On Thu, Jan 24, 2013 at 03:29:50PM +0200, ville.syrjala@linux.intel= .com wrote: > > > > > #define DSTATE_GFX_RESET_I830 (1<<6) > > > > > #define DSTATE_PLL_D3_OFF (1<<3) > > > > > #define DSTATE_GFX_CLOCK_GATING (1<<1) > > > > > #define DSTATE_DOT_CLOCK_GATING (1<<0) > > > > > -#define DSPCLK_GATE_D 0x6200 > > > > > +#define DSPCLK_GATE_D (dev_priv->info->display_mmio_offset + 0x= 6200) > > > > = > > > > This one here seems to be only used up to gen4 ... > > > = > > > DSPCLK_GATE_D is used in intel_i2c_quirk_set(). OTOH gma500 has the > > > same code commented out, so it may be that we can skip it too. Anyone > > > have more details on this quirk? > > = > > Afaict that quirk is for pnv only. > = > So, should we just kill it for other HW? At least it needs to be killed > for VLV if we don't merge this hunk. Ah, it already is disabled for everything else. Great, less work for me. -- = Ville Syrj=E4l=E4 Intel OTC