[Intel-gfx] [PATCH v2 11/50] drm/i915/xelpd: Add Wa_14011503030

Souza, Jose jose.souza at intel.com
Thu Mar 25 21:06:39 UTC 2021


On Thu, 2021-03-25 at 11:06 -0700, Matt Roper wrote:

Reviewed-by: José Roberto de Souza <jose.souza at intel.com>

> Cc: Aditya Swarup <aditya.swarup at intel.com>
> Signed-off-by: Matt Roper <matthew.d.roper at intel.com>
> ---
>  drivers/gpu/drm/i915/display/intel_display_power.c | 4 ++++
>  drivers/gpu/drm/i915/i915_reg.h                    | 2 ++
>  2 files changed, 6 insertions(+)
> 
> diff --git a/drivers/gpu/drm/i915/display/intel_display_power.c b/drivers/gpu/drm/i915/display/intel_display_power.c
> index e3495d3305b3..930488fba3cd 100644
> --- a/drivers/gpu/drm/i915/display/intel_display_power.c
> +++ b/drivers/gpu/drm/i915/display/intel_display_power.c
> @@ -5840,6 +5840,10 @@ static void icl_display_core_init(struct drm_i915_private *dev_priv,
>  		      DCPR_MASK_LPMODE | DCPR_MASK_MAXLATENCY_MEMUP_CLR;
>  		intel_uncore_rmw(&dev_priv->uncore, GEN11_CHICKEN_DCPR_2, 0, val);
>  	}
> +
> +	/* Wa_14011503030:xelpd */
> +	if (DISPLAY_VER(dev_priv) >= 13)
> +		intel_de_write(dev_priv, XELPD_DISPLAY_ERR_FATAL_MASK, ~0);
>  }
>  
> 
>  static void icl_display_core_uninit(struct drm_i915_private *dev_priv)
> diff --git a/drivers/gpu/drm/i915/i915_reg.h b/drivers/gpu/drm/i915/i915_reg.h
> index d16f228bbef2..22beacb28920 100644
> --- a/drivers/gpu/drm/i915/i915_reg.h
> +++ b/drivers/gpu/drm/i915/i915_reg.h
> @@ -7791,6 +7791,8 @@ enum {
>  #define  GEN8_GT_BCS_IRQ		(1 << 1)
>  #define  GEN8_GT_RCS_IRQ		(1 << 0)
>  
> 
> +#define XELPD_DISPLAY_ERR_FATAL_MASK	_MMIO(0x4421c)
> +
>  #define GEN8_GT_ISR(which) _MMIO(0x44300 + (0x10 * (which)))
>  #define GEN8_GT_IMR(which) _MMIO(0x44304 + (0x10 * (which)))
>  #define GEN8_GT_IIR(which) _MMIO(0x44308 + (0x10 * (which)))



More information about the Intel-gfx mailing list