[PATCH] drm/xe/xe2lpg: Extend workaround 14021402888

Lucas De Marchi lucas.demarchi at intel.com
Mon Jul 8 17:30:19 UTC 2024


On Wed, Jul 03, 2024 at 06:54:00AM GMT, Matt Roper wrote:
>On Wed, Jul 03, 2024 at 02:37:54PM +0530, Bommu Krishnaiah wrote:
>> workaround 14021402888 also applies to Xe2_LPG.
>> Replicate the existing entry to one specific for Xe2_LPG.
>>
>> Signed-off-by: Bommu Krishnaiah <krishnaiah.bommu at intel.com>
>> Cc: Tejas Upadhyay <tejas.upadhyay at intel.com>
>> Cc: Matt Roper <matthew.d.roper at intel.com>
>> Cc: Himal Prasad Ghimiray <himal.prasad.ghimiray at intel.com>
>
>Reviewed-by: Matt Roper <matthew.d.roper at intel.com>
>
>> ---
>>  drivers/gpu/drm/xe/xe_wa.c | 4 ++++
>>  1 file changed, 4 insertions(+)
>>
>> diff --git a/drivers/gpu/drm/xe/xe_wa.c b/drivers/gpu/drm/xe/xe_wa.c
>> index c7bf0862b231..91737d7a483d 100644
>> --- a/drivers/gpu/drm/xe/xe_wa.c
>> +++ b/drivers/gpu/drm/xe/xe_wa.c
>> @@ -486,6 +486,10 @@ static const struct xe_rtp_entry_sr engine_was[] = {
>>  	  XE_RTP_RULES(GRAPHICS_VERSION(2004), FUNC(xe_rtp_match_first_render_or_compute)),
>>  	  XE_RTP_ACTIONS(SET(TDL_TSL_CHICKEN, SLM_WMTP_RESTORE))
>>  	},
>> +	{ XE_RTP_NAME("14021402888"),
>> +	  XE_RTP_RULES(GRAPHICS_VERSION(2004), ENGINE_CLASS(RENDER)),
>> +	  XE_RTP_ACTIONS(SET(HALF_SLICE_CHICKEN7, CLEAR_OPTIMIZATION_DISABLE))

since the action is exactly the same as for GRAPHICS_VERSION(2001),
maybe we should prefer to a) add this one here, with an OR to also apply
in GRAPHICS_VERSION(2001) and then remove the one in the bottom of the
array that are 2001-only. Thoughts?

Lucas De Marchi



>> +	},
>>
>>  	/* Xe2_HPG */
>>
>> --
>> 2.25.1
>>
>
>-- 
>Matt Roper
>Graphics Software Engineer
>Linux GPU Platform Enablement
>Intel Corporation


More information about the Intel-xe mailing list