From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ville =?iso-8859-1?Q?Syrj=E4l=E4?= Subject: Re: [PATCH v4 5/6] drm/i915/vlv:Implement the WA 'WaDisable_RenderCache_OperationalFlush' Date: Fri, 4 Apr 2014 18:35:21 +0300 Message-ID: <20140404153521.GD12024@intel.com> 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 mga11.intel.com (mga11.intel.com [192.55.52.93]) by gabe.freedesktop.org (Postfix) with ESMTP id 696026E08E for ; Fri, 4 Apr 2014 08:36:28 -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 , 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). That's the correct name for the bit on gen3 AFAICS. Might be interesting to try to flip it on gen3 and see if we get moar fps :P > 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. > -Chris > = > -- = > Chris Wilson, Intel Open Source Technology Centre -- = Ville Syrj=E4l=E4 Intel OTC