All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] drm/i915/cnl: Add Wa_2201832410
@ 2018-03-06  1:08 Rodrigo Vivi
  2018-03-06  1:36 ` ✓ Fi.CI.BAT: success for " Patchwork
                   ` (4 more replies)
  0 siblings, 5 replies; 16+ messages in thread
From: Rodrigo Vivi @ 2018-03-06  1:08 UTC (permalink / raw)
  To: intel-gfx; +Cc: Rodrigo Vivi

"Clock gating bug in GWL may not clear barrier state when an EOT
is received, causing a hang the next time that barrier is used."

HSDES: 2201832410

Cc: Rafael Antognolli <rafael.antognolli@intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
---
 drivers/gpu/drm/i915/i915_reg.h | 3 +++
 drivers/gpu/drm/i915/intel_pm.c | 5 +++++
 2 files changed, 8 insertions(+)

diff --git a/drivers/gpu/drm/i915/i915_reg.h b/drivers/gpu/drm/i915/i915_reg.h
index a060726fed7e..42baf90edb6f 100644
--- a/drivers/gpu/drm/i915/i915_reg.h
+++ b/drivers/gpu/drm/i915/i915_reg.h
@@ -3953,6 +3953,9 @@ enum {
 #define  SARBUNIT_CLKGATE_DIS		(1 << 5)
 #define  RCCUNIT_CLKGATE_DIS		(1 << 7)
 
+#define SUBSLICE_UNIT_LEVEL_CLKGATE	_MMIO(0x9524)
+#define  GWUNIT_CLKGATE_DIS		(1 << 16)
+
 #define UNSLICE_UNIT_LEVEL_CLKGATE	_MMIO(0x9434)
 #define  VFUNIT_CLKGATE_DIS		(1 << 20)
 
diff --git a/drivers/gpu/drm/i915/intel_pm.c b/drivers/gpu/drm/i915/intel_pm.c
index 3e60279f18b1..be01012bb65f 100644
--- a/drivers/gpu/drm/i915/intel_pm.c
+++ b/drivers/gpu/drm/i915/intel_pm.c
@@ -8522,6 +8522,11 @@ static void cnl_init_clock_gating(struct drm_i915_private *dev_priv)
 		val |= SARBUNIT_CLKGATE_DIS;
 	I915_WRITE(SLICE_UNIT_LEVEL_CLKGATE, val);
 
+	/* Wa_2201832410:cnl */
+	val = I915_READ(SUBSLICE_UNIT_LEVEL_CLKGATE);
+	val |= GWUNIT_CLKGATE_DIS;
+	I915_WRITE(SUBSLICE_UNIT_LEVEL_CLKGATE, val);
+
 	/* WaDisableVFclkgate:cnl */
 	val = I915_READ(UNSLICE_UNIT_LEVEL_CLKGATE);
 	val |= VFUNIT_CLKGATE_DIS;
-- 
2.13.6

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply related	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2018-04-11 13:53 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-03-06  1:08 [PATCH] drm/i915/cnl: Add Wa_2201832410 Rodrigo Vivi
2018-03-06  1:36 ` ✓ Fi.CI.BAT: success for " Patchwork
2018-03-06  7:26 ` ✗ Fi.CI.IGT: warning " Patchwork
2018-03-06 22:53 ` ✓ Fi.CI.BAT: success " Patchwork
2018-03-07  3:36 ` ✗ Fi.CI.IGT: failure " Patchwork
2018-03-07 21:40 ` ✗ Fi.CI.BAT: " Patchwork
2018-03-07 22:09   ` [PATCH] " Rodrigo Vivi
2018-03-07 22:48     ` Rafael Antognolli
2018-03-08  0:00       ` Rodrigo Vivi
2018-03-08 10:30         ` Jani Nikula
2018-03-08 15:23           ` Rodrigo Vivi
2018-04-11 13:53     ` Mika Kuoppala
2018-03-07 22:59   ` ✗ Fi.CI.BAT: failure for drm/i915/cnl: Add Wa_2201832410 (rev2) Patchwork
2018-03-07 23:08     ` Rodrigo Vivi
2018-03-07 23:42   ` ✓ Fi.CI.BAT: success " Patchwork
2018-03-08  0:26   ` ✓ Fi.CI.IGT: " Patchwork

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.