From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ville =?iso-8859-1?Q?Syrj=E4l=E4?= Subject: Re: [PATCH 1/2] drm/i915/bdw: Apply workarounds in render ring init function Date: Tue, 26 Aug 2014 18:32:50 +0300 Message-ID: <20140826153250.GO4193@intel.com> References: <1409060691-4916-1-git-send-email-arun.siluvery@linux.intel.com> <1409060691-4916-2-git-send-email-arun.siluvery@linux.intel.com> <20140826143705.GN4193@intel.com> <53FC9E18.5060306@linux.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 998FC6E191 for ; Tue, 26 Aug 2014 08:35:43 -0700 (PDT) Content-Disposition: inline In-Reply-To: <53FC9E18.5060306@linux.intel.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" To: "Siluvery, Arun" Cc: intel-gfx@lists.freedesktop.org List-Id: intel-gfx@lists.freedesktop.org On Tue, Aug 26, 2014 at 03:47:52PM +0100, Siluvery, Arun wrote: > On 26/08/2014 15:37, Ville Syrj=E4l=E4 wrote: > > On Tue, Aug 26, 2014 at 02:44:50PM +0100, Arun Siluvery wrote: > >> For BDW workarounds are currently initialized in init_clock_gating() b= ut > >> they are lost during reset, suspend/resume etc; this patch moves the W= As > >> that are part of register state context to render ring init fn otherwi= se > >> default context ends up with incorrect values as they don't get initia= lized > >> until init_clock_gating fn. > >> > >> v2: Add workarounds to golden render state > >> This method has its own issues, first of all this is different for > >> each gen and it is generated using a tool so adding new workaround > >> and mainitaining them across gens is not a straightforward process. > >> > >> v3: Use LRIs to emit these workarounds (Ville) > >> Instead of modifying the golden render state the same LRIs are > >> emitted from within the driver. > >> > >> v4: Use abstract name when exporting gen specific routines (Chris) > >> > >> For: VIZ-4092 > >> Signed-off-by: Arun Siluvery > > > > This one looks good as far as I'm concerned. > > Reviewed-by: Ville Syrj=E4l=E4 > > > > Do you plan to give other platforms the same treatment? We need at least > > CHV converted ASAP. But if you don't have a test machine I can take care > > of that myself. > > > I don't have hardware for CHV, I can borrow and try to do but since it = > is required at the earliest could you please modify it for CHV? Sure, I can take care of it. -- = Ville Syrj=E4l=E4 Intel OTC