[Intel-gfx] [PATCH 1/3] drm/i915: Extend WaDisableDARBFClkGating to icl, ehl, tgl

Lucas De Marchi lucas.demarchi at intel.com
Tue Dec 24 16:52:19 UTC 2019


On Mon, Dec 23, 2019 at 05:20:24PM -0800, Matt Roper wrote:
>WaDisableDARBFClkGating, now known as Wa_14010480278, has been added to
>the workaround tables for ICL, EHL, and TGL so we need to extend our
>platform test accordingly.
>
>Bspec: 33450
>Bspec: 33451
>Bspec: 52890
>Cc: Lucas De Marchi <lucas.demarchi at intel.com>
>Cc: Matt Atwood <matthew.s.atwood at intel.com>
>Cc: Radhakrishna Sripada <radhakrishna.sripada at intel.com>
>Signed-off-by: Matt Roper <matthew.d.roper at intel.com>

Reviewed-by: Lucas De Marchi <lucas.demarchi at intel.com>

Lucas De Marchi

>---
> drivers/gpu/drm/i915/display/intel_display.c | 7 +++++--
> 1 file changed, 5 insertions(+), 2 deletions(-)
>
>diff --git a/drivers/gpu/drm/i915/display/intel_display.c b/drivers/gpu/drm/i915/display/intel_display.c
>index 1860da0a493e..0944b56c8f04 100644
>--- a/drivers/gpu/drm/i915/display/intel_display.c
>+++ b/drivers/gpu/drm/i915/display/intel_display.c
>@@ -17827,8 +17827,11 @@ get_encoder_power_domains(struct drm_i915_private *dev_priv)
>
> static void intel_early_display_was(struct drm_i915_private *dev_priv)
> {
>-	/* Display WA #1185 WaDisableDARBFClkGating:cnl,glk */
>-	if (IS_CANNONLAKE(dev_priv) || IS_GEMINILAKE(dev_priv))
>+	/*
>+	 * Display WA #1185 WaDisableDARBFClkGating:cnl,glk,icl,ehl,tgl
>+	 * Also known as Wa_14010480278.
>+	 */
>+	if (IS_GEN_RANGE(dev_priv, 10, 12) || IS_GEMINILAKE(dev_priv))
> 		I915_WRITE(GEN9_CLKGATE_DIS_0, I915_READ(GEN9_CLKGATE_DIS_0) |
> 			   DARBF_GATING_DIS);
>
>-- 
>2.23.0
>


More information about the Intel-gfx mailing list