[Intel-xe] [PATCH] drm/xe/xe2: Add workaround 16021867713

Matt Roper matthew.d.roper at intel.com
Wed Nov 22 18:25:13 UTC 2023


On Wed, Nov 22, 2023 at 04:28:54PM +0530, Tejas Upadhyay wrote:
> This workaround applies to Xe2_LPM as well
> 
> Signed-off-by: Tejas Upadhyay <tejas.upadhyay at intel.com>

This workaround isn't finalized yet, although it looks like it's
trending to match what you've implemented below.  Assuming the
workaround eventually becomes official without any changes,

Reviewed-by: Matt Roper <matthew.d.roper at intel.com>

> ---
>  drivers/gpu/drm/xe/xe_wa.c | 9 +++++++++
>  1 file changed, 9 insertions(+)
> 
> diff --git a/drivers/gpu/drm/xe/xe_wa.c b/drivers/gpu/drm/xe/xe_wa.c
> index 6572715dfc09..473f1d0bc14b 100644
> --- a/drivers/gpu/drm/xe/xe_wa.c
> +++ b/drivers/gpu/drm/xe/xe_wa.c
> @@ -273,6 +273,15 @@ static const struct xe_rtp_entry_sr gt_was[] = {
>  			 SET(XEHPC_L3CLOS_MASK(3), ~0))
>  	},
>  
> +	/* Xe2_LPM */
> +
> +	{ XE_RTP_NAME("16021867713"),
> +	  XE_RTP_RULES(MEDIA_VERSION(2000),
> +		       ENGINE_CLASS(VIDEO_DECODE)),
> +	  XE_RTP_ACTIONS(SET(VDBOX_CGCTL3F1C(0), MFXPIPE_CLKGATE_DIS)),
> +	  XE_RTP_ENTRY_FLAG(FOREACH_ENGINE),
> +	},
> +
>  	{}
>  };
>  
> -- 
> 2.25.1
> 

-- 
Matt Roper
Graphics Software Engineer
Linux GPU Platform Enablement
Intel Corporation


More information about the Intel-xe mailing list