From: "Ville Syrjälä" <ville.syrjala@linux.intel.com>
To: "Vivi, Rodrigo" <rodrigo.vivi@intel.com>
Cc: "Conselvan De Oliveira,
Ander" <ander.conselvan.de.oliveira@intel.com>,
"intel-gfx@lists.freedesktop.org"
<intel-gfx@lists.freedesktop.org>,
"Kuoppala, Mika" <mika.kuoppala@intel.com>
Subject: Re: [PATCH] drm/i915: Remove WaDisableKillLogic and GEN9_DISABLE_OCL_OOB_SUPPRESS_LOGIC for KBL and GLK.
Date: Mon, 19 Jun 2017 22:17:16 +0300 [thread overview]
Message-ID: <20170619191716.GQ12629@intel.com> (raw)
In-Reply-To: <1497898887.32201.15.camel@rdvivi-vienna>
On Mon, Jun 19, 2017 at 07:01:21PM +0000, Vivi, Rodrigo wrote:
> On Mon, 2017-06-19 at 21:22 +0300, Ville Syrjälä wrote:
> > On Mon, Jun 19, 2017 at 10:23:41AM -0700, Rodrigo Vivi wrote:
> > > When reviewing commit 46c26662d2f ("drm/i915/cfl: Introduce Coffee Lake workarounds.")
> > > Mika pointed out that Spec tells those 2 workarounds were not needed.
> > >
> > > So when double checking I confirmed that and also that by Spec
> > > they only apply to SKL and BXT.
> > >
> > > v2: Instead of increase the if/else move the wa
> > > to individual platform functions. (Ville).
> > > Also remove from GLK since spec only mentions SKL and BXT.
> >
> > The spec seems to be telling me that these shouldn't needed on any
> > platform. But there are scary comments in the code saying that they
> > have been kept to cure some hangs. Probably best to wair for Mika to be
> > back to review this one.
>
> About WaDisableKillLogic:
The patch didn't seem to touch WaDisableKillLogic. Or maybe I read the
wrong patch.
>
> Bspec: Gen 9 Workarounds:
> #0684 3D WaDisableKillLogic - SKL and BXT.
>
> About the other one:
>
> GEN9_DISABLE_OCL_OOB_SUPPRESS_LOGIC...
> Fun, but it is not in the spec anymore indeed. If you search for e184
> gen9 workarounds page is listed, but it is not mentioned anymore.
> Mika and I indeed saw that there at some point for SKL at least, but not
> for others..
>
> not sure!
>
> >
> > >
> > > Cc: Ander Conselvan de Oliveira <ander.conselvan.de.oliveira@intel.com>
> > > Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
> > > Cc: Mika Kuoppala <mika.kuoppala@intel.com>
> > > Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
> > > ---
> > > drivers/gpu/drm/i915/intel_engine_cs.c | 26 ++++++++++++++++----------
> > > 1 file changed, 16 insertions(+), 10 deletions(-)
> > >
> > > diff --git a/drivers/gpu/drm/i915/intel_engine_cs.c b/drivers/gpu/drm/i915/intel_engine_cs.c
> > > index a4487c5..33c3a9d 100644
> > > --- a/drivers/gpu/drm/i915/intel_engine_cs.c
> > > +++ b/drivers/gpu/drm/i915/intel_engine_cs.c
> > > @@ -831,11 +831,6 @@ static int gen9_init_workarounds(struct intel_engine_cs *engine)
> > > FLOW_CONTROL_ENABLE |
> > > PARTIAL_INSTRUCTION_SHOOTDOWN_DISABLE);
> > >
> > > - /* Syncing dependencies between camera and graphics:skl,bxt,kbl */
> > > - if (!IS_COFFEELAKE(dev_priv))
> > > - WA_SET_BIT_MASKED(HALF_SLICE_CHICKEN3,
> > > - GEN9_DISABLE_OCL_OOB_SUPPRESS_LOGIC);
> > > -
> > > /* WaDisableDgMirrorFixInHalfSliceChicken5:bxt */
> > > if (IS_BXT_REVID(dev_priv, 0, BXT_REVID_A1))
> > > WA_CLR_BIT_MASKED(GEN9_HALF_SLICE_CHICKEN5,
> > > @@ -894,11 +889,6 @@ static int gen9_init_workarounds(struct intel_engine_cs *engine)
> > > WA_SET_BIT_MASKED(HDC_CHICKEN0,
> > > HDC_FORCE_NON_COHERENT);
> > >
> > > - /* WaDisableHDCInvalidation:skl,bxt,kbl */
> > > - if (!IS_COFFEELAKE(dev_priv))
> > > - I915_WRITE(GAM_ECOCHK, I915_READ(GAM_ECOCHK) |
> > > - BDW_DISABLE_HDC_INVALIDATION);
> > > -
> > > /* WaDisableSamplerPowerBypassForSOPingPong:skl,bxt,kbl,cfl */
> > > if (IS_SKYLAKE(dev_priv) ||
> > > IS_KABYLAKE(dev_priv) ||
> > > @@ -1007,6 +997,14 @@ static int skl_init_workarounds(struct intel_engine_cs *engine)
> > > if (ret)
> > > return ret;
> > >
> > > + /* Syncing dependencies between camera and graphics:skl */
> > > + WA_SET_BIT_MASKED(HALF_SLICE_CHICKEN3,
> > > + GEN9_DISABLE_OCL_OOB_SUPPRESS_LOGIC);
> > > +
> > > + /* WaDisableHDCInvalidation:skl */
> > > + I915_WRITE(GAM_ECOCHK, I915_READ(GAM_ECOCHK) |
> > > + BDW_DISABLE_HDC_INVALIDATION);
> > > +
> > > return skl_tune_iz_hashing(engine);
> > > }
> > >
> > > @@ -1076,6 +1074,14 @@ static int bxt_init_workarounds(struct intel_engine_cs *engine)
> > > WA_SET_BIT(GEN9_GAMT_ECO_REG_RW_IA,
> > > GAMT_ECO_ENABLE_IN_PLACE_DECOMPRESS);
> > >
> > > + /* Syncing dependencies between camera and graphics:bxt */
> > > + WA_SET_BIT_MASKED(HALF_SLICE_CHICKEN3,
> > > + GEN9_DISABLE_OCL_OOB_SUPPRESS_LOGIC);
> > > +
> > > + /* WaDisableHDCInvalidation:bxt */
> > > + I915_WRITE(GAM_ECOCHK, I915_READ(GAM_ECOCHK) |
> > > + BDW_DISABLE_HDC_INVALIDATION);
> > > +
> > > return 0;
> > > }
> > >
> > > --
> > > 1.9.1
> >
>
--
Ville Syrjälä
Intel OTC
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
prev parent reply other threads:[~2017-06-19 19:17 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-06-19 17:23 [PATCH] drm/i915: Remove WaDisableKillLogic and GEN9_DISABLE_OCL_OOB_SUPPRESS_LOGIC for KBL and GLK Rodrigo Vivi
2017-06-19 17:46 ` ✓ Fi.CI.BAT: success for " Patchwork
2017-06-19 18:22 ` [PATCH] " Ville Syrjälä
2017-06-19 19:01 ` Vivi, Rodrigo
2017-06-19 19:17 ` Ville Syrjälä [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170619191716.GQ12629@intel.com \
--to=ville.syrjala@linux.intel.com \
--cc=ander.conselvan.de.oliveira@intel.com \
--cc=intel-gfx@lists.freedesktop.org \
--cc=mika.kuoppala@intel.com \
--cc=rodrigo.vivi@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.