From: Matt Roper <matthew.d.roper@intel.com> To: Radhakrishna Sripada <radhakrishna.sripada@intel.com> Cc: intel-gfx@lists.freedesktop.org Subject: Re: [PATCH v2 2/2] drm/i915/tgl: Add Wa_1408615072 Date: Fri, 15 Nov 2019 13:07:30 -0800 [thread overview] Message-ID: <20191115210730.GB21445@mdroper-desk1.amr.corp.intel.com> (raw) In-Reply-To: <20191114215046.25171-1-radhakrishna.sripada@intel.com> On Thu, Nov 14, 2019 at 01:50:46PM -0800, Radhakrishna Sripada wrote: > Disable VS Unit Clockgating. > > v2: Fix VSUNIT instead of VFUNIT(Ville) The VSUNIT bit (bit 3) isn't supposed to exist on gen12 according to the bspec. However there's a separate programming note indicating that the (supposedly non-existent) bit should be set as a workaround on TGL. I previously raised this in HSD but never got a response. I'll file a bspec ticket. Matt > > BSpec: 52857 > Cc: Ville Syrjälä <ville.syrjala@linux.intel.com> > Cc: Mika Kuoppala <mika.kuoppala@linux.intel.com> > Signed-off-by: Radhakrishna Sripada <radhakrishna.sripada@intel.com> > --- > drivers/gpu/drm/i915/i915_reg.h | 1 + > drivers/gpu/drm/i915/intel_pm.c | 4 ++++ > 2 files changed, 5 insertions(+) > > diff --git a/drivers/gpu/drm/i915/i915_reg.h b/drivers/gpu/drm/i915/i915_reg.h > index 478f5ff6c554..8fb3d2082806 100644 > --- a/drivers/gpu/drm/i915/i915_reg.h > +++ b/drivers/gpu/drm/i915/i915_reg.h > @@ -4178,6 +4178,7 @@ enum { > > #define UNSLICE_UNIT_LEVEL_CLKGATE _MMIO(0x9434) > #define VFUNIT_CLKGATE_DIS (1 << 20) > +#define VSUNIT_CLKGATE_DIS (1 << 3) > > #define INF_UNIT_LEVEL_CLKGATE _MMIO(0x9560) > #define CGPSF_CLKGATE_DIS (1 << 3) > diff --git a/drivers/gpu/drm/i915/intel_pm.c b/drivers/gpu/drm/i915/intel_pm.c > index 05ba9e1bd247..3aaad4957675 100644 > --- a/drivers/gpu/drm/i915/intel_pm.c > +++ b/drivers/gpu/drm/i915/intel_pm.c > @@ -6580,6 +6580,10 @@ static void tgl_init_clock_gating(struct drm_i915_private *dev_priv) > > I915_WRITE(POWERGATE_ENABLE, > I915_READ(POWERGATE_ENABLE) | vd_pg_enable); > + > + /* Wa_1408615072:tgl */ > + I915_WRITE(UNSLICE_UNIT_LEVEL_CLKGATE, > + I915_READ(UNSLICE_UNIT_LEVEL_CLKGATE) | VSUNIT_CLKGATE_DIS); > } > > static void cnp_init_clock_gating(struct drm_i915_private *dev_priv) > -- > 2.20.1 > > _______________________________________________ > Intel-gfx mailing list > Intel-gfx@lists.freedesktop.org > https://lists.freedesktop.org/mailman/listinfo/intel-gfx -- Matt Roper Graphics Software Engineer VTT-OSGC Platform Enablement Intel Corporation (916) 356-2795 _______________________________________________ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/intel-gfx
WARNING: multiple messages have this Message-ID (diff)
From: Matt Roper <matthew.d.roper@intel.com> To: Radhakrishna Sripada <radhakrishna.sripada@intel.com> Cc: intel-gfx@lists.freedesktop.org Subject: Re: [Intel-gfx] [PATCH v2 2/2] drm/i915/tgl: Add Wa_1408615072 Date: Fri, 15 Nov 2019 13:07:30 -0800 [thread overview] Message-ID: <20191115210730.GB21445@mdroper-desk1.amr.corp.intel.com> (raw) Message-ID: <20191115210730.lXw9hyP07RhE1zz_OC25kD5101KNJdiJWbSTqUx_T4Q@z> (raw) In-Reply-To: <20191114215046.25171-1-radhakrishna.sripada@intel.com> On Thu, Nov 14, 2019 at 01:50:46PM -0800, Radhakrishna Sripada wrote: > Disable VS Unit Clockgating. > > v2: Fix VSUNIT instead of VFUNIT(Ville) The VSUNIT bit (bit 3) isn't supposed to exist on gen12 according to the bspec. However there's a separate programming note indicating that the (supposedly non-existent) bit should be set as a workaround on TGL. I previously raised this in HSD but never got a response. I'll file a bspec ticket. Matt > > BSpec: 52857 > Cc: Ville Syrjälä <ville.syrjala@linux.intel.com> > Cc: Mika Kuoppala <mika.kuoppala@linux.intel.com> > Signed-off-by: Radhakrishna Sripada <radhakrishna.sripada@intel.com> > --- > drivers/gpu/drm/i915/i915_reg.h | 1 + > drivers/gpu/drm/i915/intel_pm.c | 4 ++++ > 2 files changed, 5 insertions(+) > > diff --git a/drivers/gpu/drm/i915/i915_reg.h b/drivers/gpu/drm/i915/i915_reg.h > index 478f5ff6c554..8fb3d2082806 100644 > --- a/drivers/gpu/drm/i915/i915_reg.h > +++ b/drivers/gpu/drm/i915/i915_reg.h > @@ -4178,6 +4178,7 @@ enum { > > #define UNSLICE_UNIT_LEVEL_CLKGATE _MMIO(0x9434) > #define VFUNIT_CLKGATE_DIS (1 << 20) > +#define VSUNIT_CLKGATE_DIS (1 << 3) > > #define INF_UNIT_LEVEL_CLKGATE _MMIO(0x9560) > #define CGPSF_CLKGATE_DIS (1 << 3) > diff --git a/drivers/gpu/drm/i915/intel_pm.c b/drivers/gpu/drm/i915/intel_pm.c > index 05ba9e1bd247..3aaad4957675 100644 > --- a/drivers/gpu/drm/i915/intel_pm.c > +++ b/drivers/gpu/drm/i915/intel_pm.c > @@ -6580,6 +6580,10 @@ static void tgl_init_clock_gating(struct drm_i915_private *dev_priv) > > I915_WRITE(POWERGATE_ENABLE, > I915_READ(POWERGATE_ENABLE) | vd_pg_enable); > + > + /* Wa_1408615072:tgl */ > + I915_WRITE(UNSLICE_UNIT_LEVEL_CLKGATE, > + I915_READ(UNSLICE_UNIT_LEVEL_CLKGATE) | VSUNIT_CLKGATE_DIS); > } > > static void cnp_init_clock_gating(struct drm_i915_private *dev_priv) > -- > 2.20.1 > > _______________________________________________ > Intel-gfx mailing list > Intel-gfx@lists.freedesktop.org > https://lists.freedesktop.org/mailman/listinfo/intel-gfx -- Matt Roper Graphics Software Engineer VTT-OSGC Platform Enablement Intel Corporation (916) 356-2795 _______________________________________________ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/intel-gfx
next prev parent reply other threads:[~2019-11-15 21:06 UTC|newest] Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top 2019-11-13 19:18 [PATCH 1/2] drm/i915/tgl: Wa_1606679103 Radhakrishna Sripada 2019-11-13 19:18 ` [Intel-gfx] " Radhakrishna Sripada 2019-11-13 19:18 ` [PATCH 2/2] drm/i915/tgl: Add Wa_1408615072 Radhakrishna Sripada 2019-11-13 19:18 ` [Intel-gfx] " Radhakrishna Sripada 2019-11-14 10:28 ` Ville Syrjälä 2019-11-14 10:28 ` [Intel-gfx] " Ville Syrjälä 2019-11-14 21:50 ` [PATCH v2 " Radhakrishna Sripada 2019-11-14 21:50 ` [Intel-gfx] " Radhakrishna Sripada 2019-11-15 21:07 ` Matt Roper [this message] 2019-11-15 21:07 ` Matt Roper 2019-11-13 22:12 ` [PATCH 1/2] drm/i915/tgl: Wa_1606679103 Chris Wilson 2019-11-13 22:12 ` [Intel-gfx] " Chris Wilson 2019-11-13 23:19 ` [PATCH v2 " Radhakrishna Sripada 2019-11-13 23:19 ` [Intel-gfx] " Radhakrishna Sripada 2019-11-13 23:32 ` Chris Wilson 2019-11-13 23:32 ` [Intel-gfx] " Chris Wilson 2019-11-14 3:50 ` ✗ Fi.CI.BAT: failure for series starting with [v2,1/2] drm/i915/tgl: Wa_1606679103 (rev2) Patchwork 2019-11-14 3:50 ` [Intel-gfx] " Patchwork 2019-11-14 22:21 ` ✓ Fi.CI.BAT: success for series starting with [v2,1/2] drm/i915/tgl: Wa_1606679103 (rev3) Patchwork 2019-11-14 22:21 ` [Intel-gfx] " Patchwork 2019-11-16 3:20 ` ✗ Fi.CI.IGT: failure " Patchwork 2019-11-16 3:20 ` [Intel-gfx] " 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=20191115210730.GB21445@mdroper-desk1.amr.corp.intel.com \ --to=matthew.d.roper@intel.com \ --cc=intel-gfx@lists.freedesktop.org \ --cc=radhakrishna.sripada@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: linkBe 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.