[Intel-gfx] [PATCH v3 07/10] drm/i915/icl: Reset PSR interruptions

Ville Syrjälä ville.syrjala at linux.intel.com
Fri Oct 26 17:13:51 UTC 2018


On Thu, Oct 25, 2018 at 06:17:34PM -0700, José Roberto de Souza wrote:
> All other interruptions gen11 interruptions are reset in
> gen11_irq_reset() also it is done for other gens that supports PSR.
> 
> Cc: Dhinakaran Pandiyan <dhinakaran.pandiyan at intel.com>
> Cc: Paulo Zanoni <paulo.r.zanoni at intel.com>
> Signed-off-by: José Roberto de Souza <jose.souza at intel.com>
> ---
>  drivers/gpu/drm/i915/i915_irq.c | 3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/drivers/gpu/drm/i915/i915_irq.c b/drivers/gpu/drm/i915/i915_irq.c
> index 21756e9a7523..09f7723dbd5c 100644
> --- a/drivers/gpu/drm/i915/i915_irq.c
> +++ b/drivers/gpu/drm/i915/i915_irq.c
> @@ -3679,6 +3679,9 @@ static void gen11_irq_reset(struct drm_device *dev)
>  
>  	I915_WRITE(GEN11_DISPLAY_INT_CTL, 0);
>  
> +	I915_WRITE(EDP_PSR_IMR, 0xffffffff);
> +	I915_WRITE(EDP_PSR_IIR, 0xffffffff);
> +

Might we want a gen8_de_irq_reset() ?

Reviewed-by: Ville Syrjälä <ville.syrjala at linux.intel.com>

>  	for_each_pipe(dev_priv, pipe)
>  		if (intel_display_power_is_enabled(dev_priv,
>  						   POWER_DOMAIN_PIPE(pipe)))
> -- 
> 2.19.1
> 
> _______________________________________________
> Intel-gfx mailing list
> Intel-gfx at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/intel-gfx

-- 
Ville Syrjälä
Intel


More information about the Intel-gfx mailing list