From: "Ville Syrjälä" <ville.syrjala@linux.intel.com>
To: Rodrigo Vivi <rodrigo.vivi@gmail.com>
Cc: intel-gfx <intel-gfx@lists.freedesktop.org>,
Praveen Paneri <praveen.paneri@intel.com>
Subject: Re: [PATCH] drm/i915: enable WaDisableDopClkGating for gen9
Date: Tue, 15 Aug 2017 15:35:52 +0300 [thread overview]
Message-ID: <20170815123552.GU12629@intel.com> (raw)
In-Reply-To: <CABVU7+tjAQ8TiUnnq1iutrpjgxaECE+xNgXs2C+cTyGAjeUT3w@mail.gmail.com>
On Thu, Aug 03, 2017 at 10:31:11AM -0700, Rodrigo Vivi wrote:
> On Thu, Aug 3, 2017 at 4:13 AM, David Weinehall
> <david.weinehall@linux.intel.com> wrote:
> > On Wed, Aug 02, 2017 at 12:24:33PM -0700, Rodrigo Vivi wrote:
> >> On Wed, Aug 2, 2017 at 10:34 AM, Praveen Paneri
> >> <praveen.paneri@intel.com> wrote:
> >> > This WA is required when decoupled frequencies for slice and unslice
> >> > are enabled. This disables DOP clock gating for gen9.
> >> >
> >> > v2: enable the WA for all gen9 platforms (not just for SKL GT4 where
> >> > the hang issue is originally reported) to avoid rare hangs (David)
> >> >
> >> > Cc: David Weinehall <david.weinehall@linux.intel.com>
> >> > Reviewed-by: David Weinehall <david.weinehall@linux.intel.com>
> >> > Signed-off-by: Praveen Paneri <praveen.paneri@intel.com>
> >> > ---
> >> > drivers/gpu/drm/i915/intel_pm.c | 6 ++++++
> >> > 1 file changed, 6 insertions(+)
> >> >
> >> > diff --git a/drivers/gpu/drm/i915/intel_pm.c b/drivers/gpu/drm/i915/intel_pm.c
> >> > index 3fc42aa..e369d77 100644
> >> > --- a/drivers/gpu/drm/i915/intel_pm.c
> >> > +++ b/drivers/gpu/drm/i915/intel_pm.c
> >> > @@ -88,6 +88,12 @@ static void gen9_init_clock_gating(struct drm_i915_private *dev_priv)
> >> > /* WaFbcHighMemBwCorruptionAvoidance:skl,bxt,kbl,cfl */
> >> > I915_WRITE(ILK_DPFC_CHICKEN, I915_READ(ILK_DPFC_CHICKEN) |
> >> > ILK_DPFC_DISABLE_DUMMY0);
> >> > +
> >> > + if (IS_GEN9(dev_priv)) {
> >>
> >> I believe we should go with IS_SKYLAKE(dev_priv)
> >
> > Based on the info below that sounds sensible, yes. Good find.
> >
> >> Bspec only list this Wa for:
> >> BDW: ALL
> >> CHV: UNTIL A7
> >>
> >> WaDatabase only list this to:
> >> SKL: SIWA_FOREVER
> >> BDW: SIWA_FOREVER
> >> CHV: SIWA_CHV_UNTIL_A7
> >> SNB: SIWA_UNTIL_GT_MOBILE_D0
> >
> > Do we currently apply the fix on SNB?
>
> I guess we are not...
>
> >
> > I must say that the list of platforms seem a bit arbitrary though; it
> > seems weird that an issue on Sandybridge would disappear on Ivybridge
> > and Haswell, then resurface again on Broadwell...
> >
> > Then again, it happens far too often in software land, so it might very
> > well be that it happens in hardware land too.
>
> I agree... that's so odd...
>
> specially because this bit starts with GEN7...
IIRC the register and bit do exist on SNB as well. Our defines are
simply named incorrectly for whatever reason.
> let's just ignore this snb for now unless we find a good reason to
> investigate back there...
>
> >
> >
> > Kind regards, David
>
>
>
> --
> Rodrigo Vivi
> Blog: http://blog.vivi.eng.br
> _______________________________________________
> Intel-gfx mailing list
> Intel-gfx@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/intel-gfx
--
Ville Syrjälä
Intel OTC
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
next prev parent reply other threads:[~2017-08-15 12:36 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-07-29 4:59 [PATCH] drm/i915: enable WaDisableDopClkGating for SKL GT4 Praveen Paneri
2017-07-30 10:48 ` ✓ Fi.CI.BAT: success for " Patchwork
2017-08-02 16:41 ` [PATCH] " David Weinehall
2017-08-02 17:34 ` [PATCH] drm/i915: enable WaDisableDopClkGating for gen9 Praveen Paneri
2017-08-02 19:24 ` Rodrigo Vivi
2017-08-03 11:13 ` David Weinehall
2017-08-03 17:31 ` Rodrigo Vivi
2017-08-15 12:35 ` Ville Syrjälä [this message]
2017-08-03 13:51 ` [PATCH v3] drm/i915: enable WaDisableDopClkGating for skl Praveen Paneri
2017-08-03 17:19 ` Praveen Paneri
2017-08-03 17:32 ` Praveen Paneri
2017-08-03 17:37 ` Rodrigo Vivi
2017-08-03 17:41 ` Praveen Paneri
2017-08-03 19:31 ` Rodrigo Vivi
2017-08-02 18:07 ` ✗ Fi.CI.BAT: warning for drm/i915: enable WaDisableDopClkGating for SKL GT4 (rev2) Patchwork
2017-08-03 17:44 ` ✓ Fi.CI.BAT: success for drm/i915: enable WaDisableDopClkGating for SKL GT4 (rev4) Patchwork
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=20170815123552.GU12629@intel.com \
--to=ville.syrjala@linux.intel.com \
--cc=intel-gfx@lists.freedesktop.org \
--cc=praveen.paneri@intel.com \
--cc=rodrigo.vivi@gmail.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox