From: Damien Lespiau Subject: Re: [PATCH 35/89] drm/i915/skl: Implement Wa4x4STCOptimizationDisable:skl Date: Mon, 22 Sep 2014 14:49:27 +0100 Message-ID: <20140922134927.GJ10951@strange.ger.corp.intel.com> References: <1409830075-11139-1-git-send-email-damien.lespiau@intel.com> <1409830075-11139-36-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 mga09.intel.com (mga09.intel.com [134.134.136.24]) by gabe.freedesktop.org (Postfix) with ESMTP id 0BB276E404 for ; Mon, 22 Sep 2014 06:49:30 -0700 (PDT) Content-Disposition: inline In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" To: Rodrigo Vivi Cc: intel-gfx List-Id: intel-gfx@lists.freedesktop.org On Wed, Sep 17, 2014 at 12:00:39PM -0700, Rodrigo Vivi wrote: > Although I believe that we could have a init_workaround function for skl > as we have for bdw and chv FWIW, the W/A code is in a confusing state right now, with at least two people working on it. I'd like to wait a bit before things settle and have a full W/A pass at that point. -- Damien > On Wed, Sep 17, 2014 at 12:00 PM, Rodrigo Vivi > wrote: > > Reviewed-by: Rodrigo Vivi > On Thu, Sep 4, 2014 at 4:27 AM, Damien Lespiau > wrote: > > Signed-off-by: Damien Lespiau > --- > drivers/gpu/drm/i915/intel_pm.c | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/drivers/gpu/drm/i915/intel_pm.c > b/drivers/gpu/drm/i915/intel_pm.c > index 0dc148c..c38baea 100644 > --- a/drivers/gpu/drm/i915/intel_pm.c > +++ b/drivers/gpu/drm/i915/intel_pm.c > @@ -76,6 +76,10 @@ static void gen9_init_clock_gating(struct > drm_device *dev) > */ > I915_WRITE(GEN8_UCGCTL6, I915_READ(GEN8_UCGCTL6) | > GEN8_SDEUNIT_CLOCK_GATE_DISABLE); > + > + /* Wa4x4STCOptimizationDisable:skl */ > + I915_WRITE(CACHE_MODE_1, > + > _MASKED_BIT_ENABLE(GEN8_4x4_STC_OPTIMIZATION_DISABLE)); > } > > static void i8xx_disable_fbc(struct drm_device *dev) > -- > 1.8.3.1 > > _______________________________________________ > 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 > > > -- > Rodrigo Vivi > Blog: http://blog.vivi.eng.br >