[Intel-xe] [PATCH] drm/xe/xelpmp: Extend a workaround to Xe_LPM+

Matt Roper matthew.d.roper at intel.com
Mon Oct 30 17:53:28 UTC 2023


On Mon, Oct 30, 2023 at 08:37:56PM +0530, Shekhar Chauhan wrote:
> Add Xe_LPM+ support to an existing workaround.
> BSpec: 51762
> 
> Signed-off-by: Shekhar Chauhan <shekhar.chauhan at intel.com>

It might be best to give the workaround number rather than "a
workaround" in the headline, just so it's easier to track.  But we can
make that change while applying the patch; no need to re-send.

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

and pushed to drm-xe-next.


Matt

> ---
>  drivers/gpu/drm/xe/regs/xe_gt_regs.h | 1 +
>  drivers/gpu/drm/xe/xe_wa.c           | 7 +++++++
>  2 files changed, 8 insertions(+)
> 
> diff --git a/drivers/gpu/drm/xe/regs/xe_gt_regs.h b/drivers/gpu/drm/xe/regs/xe_gt_regs.h
> index b00fe089525a..7a6407e38265 100644
> --- a/drivers/gpu/drm/xe/regs/xe_gt_regs.h
> +++ b/drivers/gpu/drm/xe/regs/xe_gt_regs.h
> @@ -152,6 +152,7 @@
>  #define   POLYGON_TRIFAN_LINELOOP_DISABLE	REG_BIT(4)
>  
>  #define SQCNT1					XE_REG_MCR(0x8718)
> +#define XELPMP_SQCNT1				XE_REG(0x8718)
>  #define   ENFORCE_RAR				REG_BIT(23)
>  
>  #define XEHP_SQCM				XE_REG_MCR(0x8724)
> diff --git a/drivers/gpu/drm/xe/xe_wa.c b/drivers/gpu/drm/xe/xe_wa.c
> index ce61609b001c..2f1782db267b 100644
> --- a/drivers/gpu/drm/xe/xe_wa.c
> +++ b/drivers/gpu/drm/xe/xe_wa.c
> @@ -246,6 +246,13 @@ static const struct xe_rtp_entry_sr gt_was[] = {
>  	  XE_RTP_ACTIONS(SET(SQCNT1, ENFORCE_RAR))
>  	},
>  
> +	/* Xe_LPM+ */
> +
> +	{ XE_RTP_NAME("22016670082"),
> +	  XE_RTP_RULES(MEDIA_VERSION(1300)),
> +	  XE_RTP_ACTIONS(SET(XELPMP_SQCNT1, ENFORCE_RAR))
> +	},
> +
>  	/* Xe2_LPG */
>  
>  	{ XE_RTP_NAME("16020975621"),
> -- 
> 2.34.1
> 

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


More information about the Intel-xe mailing list