From: Daniel Vetter Subject: Re: [PATCH] drm/i915: Add missing platform tags to FBC workaround comments Date: Fri, 10 May 2013 16:27:05 +0200 Message-ID: <20130510142705.GP12292@phenom.ffwll.local> References: <1368192797-23567-1-git-send-email-damien.lespiau@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail-ee0-f53.google.com (mail-ee0-f53.google.com [74.125.83.53]) by gabe.freedesktop.org (Postfix) with ESMTP id 8C895E5D39 for ; Fri, 10 May 2013 07:23:58 -0700 (PDT) Received: by mail-ee0-f53.google.com with SMTP id d49so2344134eek.40 for ; Fri, 10 May 2013 07:23:57 -0700 (PDT) Content-Disposition: inline In-Reply-To: <1368192797-23567-1-git-send-email-damien.lespiau@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: Damien Lespiau Cc: intel-gfx@lists.freedesktop.org List-Id: intel-gfx@lists.freedesktop.org On Fri, May 10, 2013 at 02:33:17PM +0100, Damien Lespiau wrote: > There was a race between Rodrigo writing those patches and me > formalizing the addition of platform tags. This patches fixes it. > > Signed-off-by: Damien Lespiau Queued for -next, thanks for the patch. -Daniel > --- > drivers/gpu/drm/i915/intel_pm.c | 12 ++++++------ > 1 file changed, 6 insertions(+), 6 deletions(-) > > diff --git a/drivers/gpu/drm/i915/intel_pm.c b/drivers/gpu/drm/i915/intel_pm.c > index d806448..28cec57 100644 > --- a/drivers/gpu/drm/i915/intel_pm.c > +++ b/drivers/gpu/drm/i915/intel_pm.c > @@ -243,13 +243,13 @@ static void ironlake_disable_fbc(struct drm_device *dev) > I915_WRITE(ILK_DPFC_CONTROL, dpfc_ctl); > > if (IS_IVYBRIDGE(dev)) > - /* WaFbcDisableDpfcClockGating */ > + /* WaFbcDisableDpfcClockGating:ivb */ > I915_WRITE(ILK_DSPCLK_GATE_D, > I915_READ(ILK_DSPCLK_GATE_D) & > ~ILK_DPFCUNIT_CLOCK_GATE_DISABLE); > > if (IS_HASWELL(dev)) > - /* WaFbcDisableDpfcClockGating */ > + /* WaFbcDisableDpfcClockGating:hsw */ > I915_WRITE(HSW_CLKGATE_DISABLE_PART_1, > I915_READ(HSW_CLKGATE_DISABLE_PART_1) & > ~HSW_DPFC_GATING_DISABLE); > @@ -281,17 +281,17 @@ static void gen7_enable_fbc(struct drm_crtc *crtc, unsigned long interval) > intel_crtc->plane << IVB_DPFC_CTL_PLANE_SHIFT); > > if (IS_IVYBRIDGE(dev)) { > - /* WaFbcAsynchFlipDisableFbcQueue */ > + /* WaFbcAsynchFlipDisableFbcQueue:ivb */ > I915_WRITE(ILK_DISPLAY_CHICKEN1, ILK_FBCQ_DIS); > - /* WaFbcDisableDpfcClockGating */ > + /* WaFbcDisableDpfcClockGating:ivb */ > I915_WRITE(ILK_DSPCLK_GATE_D, > I915_READ(ILK_DSPCLK_GATE_D) | > ILK_DPFCUNIT_CLOCK_GATE_DISABLE); > } else { > - /* WaFbcAsynchFlipDisableFbcQueue */ > + /* WaFbcAsynchFlipDisableFbcQueue:hsw */ > I915_WRITE(HSW_PIPE_SLICE_CHICKEN_1(intel_crtc->pipe), > HSW_BYPASS_FBC_QUEUE); > - /* WaFbcDisableDpfcClockGating */ > + /* WaFbcDisableDpfcClockGating:hsw */ > I915_WRITE(HSW_CLKGATE_DISABLE_PART_1, > I915_READ(HSW_CLKGATE_DISABLE_PART_1) | > HSW_DPFC_GATING_DISABLE); > -- > 1.8.1.4 > > _______________________________________________ > Intel-gfx mailing list > Intel-gfx@lists.freedesktop.org > http://lists.freedesktop.org/mailman/listinfo/intel-gfx -- Daniel Vetter Software Engineer, Intel Corporation +41 (0) 79 365 57 48 - http://blog.ffwll.ch