From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Vetter Subject: Re: [PATCH v4 5/6] drm/i915/vlv:Implement the WA 'WaDisable_RenderCache_OperationalFlush' Date: Fri, 4 Apr 2014 17:59:39 +0200 Message-ID: <20140404155939.GT7225@phenom.ffwll.local> References: <20140404111725.GA12024@intel.com> <1396611878-23268-1-git-send-email-sourab.gupta@intel.com> <20140404152405.GD21064@nuc-i3427.alporthouse.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: Received: from mail-wg0-f52.google.com (mail-wg0-f52.google.com [74.125.82.52]) by gabe.freedesktop.org (Postfix) with ESMTP id 912C26E11D for ; Fri, 4 Apr 2014 08:59:43 -0700 (PDT) Received: by mail-wg0-f52.google.com with SMTP id k14so3641892wgh.11 for ; Fri, 04 Apr 2014 08:59:42 -0700 (PDT) Content-Disposition: inline In-Reply-To: <20140404152405.GD21064@nuc-i3427.alporthouse.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" To: Chris Wilson , sourab.gupta@intel.com, intel-gfx@lists.freedesktop.org, Daniel Vetter , Ville Syrjala , Akash Goel List-Id: intel-gfx@lists.freedesktop.org On Fri, Apr 04, 2014 at 04:24:05PM +0100, Chris Wilson wrote: > On Fri, Apr 04, 2014 at 05:14:38PM +0530, sourab.gupta@intel.com wrote: > > From: Akash Goel > > = > > On Gen4+ platforms (except BDW), Render Cache Operational flush > > cannot be enabled. > > This WA is apparently required for all Gen4+ platforms,except BDW. > > In BDW, the bit has been repurposed otherwise. > > This has been tested only on vlv. > > = > > v2: Corrected the code regarding the wrong usage of > > MASKED_BIT_DISABLE (Chris) > > = > > v3: Enhancing the scope of WA to Gen4+ platforms except BDW (Ville) > > = > > v4: Adding WA for g4x, crestline, broadwater (Ville) > > = > > Signed-off-by: Akash Goel > > Signed-off-by: Sourab Gupta > > Reviewed-by: Ville Syrj=E4l=E4 > = > Note that we now have a redundant CM0_RC_OP_FLUSH_DISABLE (which fails > the name test anyway). I'm also not a fan of > enable(RC_OP_FLUSH_ENABLE)/disable(RC_OP_FLUSH_ENABLE) either, but as > far as the content goes, > = > Reviewed-by: Chris Wilson > = > Sadly, it didn't appear to fix any bugs. Queued for -next, thanks for the patch. -Daniel -- = Daniel Vetter Software Engineer, Intel Corporation +41 (0) 79 365 57 48 - http://blog.ffwll.ch