[Intel-xe] [PATCH v3 12/14] drm/xe: Add missing ADL-P engine workaround

Matt Roper matthew.d.roper at intel.com
Tue Mar 14 23:21:43 UTC 2023


On Mon, Mar 13, 2023 at 05:30:10PM -0700, Lucas De Marchi wrote:
> Add the one missing workaround for ADL-P when comparing to i915 up to
> commit 7cdae9e9ee5e ("drm/i915: Move DG2 tuning to the right function").
> 
> Signed-off-by: Lucas De Marchi <lucas.demarchi at intel.com>

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

> ---
>  drivers/gpu/drm/xe/xe_wa.c | 10 ++++++++++
>  1 file changed, 10 insertions(+)
> 
> diff --git a/drivers/gpu/drm/xe/xe_wa.c b/drivers/gpu/drm/xe/xe_wa.c
> index 0621706f46e6..e21c7ec53b2f 100644
> --- a/drivers/gpu/drm/xe/xe_wa.c
> +++ b/drivers/gpu/drm/xe/xe_wa.c
> @@ -299,6 +299,16 @@ static const struct xe_rtp_entry engine_was[] = {
>  			     XE_RTP_ACTION_FLAG(MASKED_REG)))
>  	},
>  
> +	/* ADL-P */
> +
> +	{ XE_RTP_NAME("1607297627, 1607030317, 1607186500"),
> +	  XE_RTP_RULES(PLATFORM(ALDERLAKE_P), ENGINE_CLASS(RENDER)),
> +	  XE_RTP_ACTIONS(SET(RING_PSMI_CTL(RENDER_RING_BASE),
> +			     GEN12_WAIT_FOR_EVENT_POWER_DOWN_DISABLE |
> +			     GEN8_RC_SEMA_IDLE_MSG_DISABLE,
> +			     XE_RTP_ACTION_FLAG(MASKED_REG)))
> +	},
> +
>  	/* DG2 */
>  
>  	{ XE_RTP_NAME("22013037850"),
> -- 
> 2.39.0
> 

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


More information about the Intel-xe mailing list