Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Gustavo Sousa <gustavo.sousa@intel.com>
To: Matt Roper <matthew.d.roper@intel.com>
Cc: <intel-xe@lists.freedesktop.org>
Subject: Re: [PATCH] drm/xe/xe3p_lpg: Add missing references to workarounds
Date: Fri, 12 Jun 2026 11:08:28 -0300	[thread overview]
Message-ID: <87mrwz97hf.fsf@intel.com> (raw)
In-Reply-To: <20260611211106.GI6214@mdroper-desk1.amr.corp.intel.com>

Matt Roper <matthew.d.roper@intel.com> writes:

> On Wed, Jun 10, 2026 at 06:20:47PM -0300, Gustavo Sousa wrote:
>> Sometimes the same workaround implementation ends up being the
>> recommended fix different hardware issues, which are tracked by
>> different workaround lineage numbers.
>> 
>> Some of the Xe3p_LPG workarounds got "dismissed" because the
>> implementations were already in the driver, however for a different
>> lineage number.
>> 
>> Even though the implementation for workaround #A is already present in
>> the driver for workaround #B, it is still important to reference #A in
>> the driver for tracking purposes.  Without such a reference, we risk
>> dropping the workaround implementation if, for some reason in the
>> future, we decide that #B is not necessary anymore while #A is still
>> required.
>> 
>> As such, add the missing references for Xe3p_LPG.
>> 
>> Signed-off-by: Gustavo Sousa <gustavo.sousa@intel.com>
>
> Reviewed-by: Matt Roper <matthew.d.roper@intel.com>

Applied to drm-xe-next. Thanks for the review!

--
Gustavo Sousa

>
>> ---
>> Note: I realized this while reviewing the workaround database for
>> Xe3p_LPG against our current driver code.  There could be more cases
>> for other IPs.
>> ---
>>  drivers/gpu/drm/xe/xe_wa.c | 6 +++---
>>  1 file changed, 3 insertions(+), 3 deletions(-)
>> 
>> diff --git a/drivers/gpu/drm/xe/xe_wa.c b/drivers/gpu/drm/xe/xe_wa.c
>> index 635d5461f712..139434946f8f 100644
>> --- a/drivers/gpu/drm/xe/xe_wa.c
>> +++ b/drivers/gpu/drm/xe/xe_wa.c
>> @@ -293,7 +293,7 @@ VISIBLE_IF_KUNIT const struct xe_rtp_table_sr gt_was = XE_RTP_TABLE_SR(
>>  	  XE_RTP_ACTIONS(SET(MMIOATSREQLIMIT_GAM_WALK_3D,
>>  			     DIS_ATS_WRONLY_PG))
>>  	},
>> -	{ XE_RTP_NAME("14026144927, 16029437861"),
>> +	{ XE_RTP_NAME("14026144927, 16029437861, 14026127056"),
>>  	  XE_RTP_RULES(GRAPHICS_VERSION(3510), GRAPHICS_STEP(A0, B0)),
>>  	  XE_RTP_ACTIONS(SET(L3SQCREG2, L3_SQ_DISABLE_COAMA_2WAY_COH |
>>  			     L3_SQ_DISABLE_COAMA))
>> @@ -587,12 +587,12 @@ static const struct xe_rtp_table_sr engine_was = XE_RTP_TABLE_SR(
>>  
>>  	/* Xe3p_LPG*/
>>  
>> -	{ XE_RTP_NAME("22021149932"),
>> +	{ XE_RTP_NAME("22021149932, 14026290593"),
>>  	  XE_RTP_RULES(GRAPHICS_VERSION(3510), GRAPHICS_STEP(A0, B0),
>>  		       FUNC(xe_rtp_match_first_render_or_compute)),
>>  	  XE_RTP_ACTIONS(SET(LSC_CHICKEN_BIT_0_UDW, SAMPLER_LD_LSC_DISABLE))
>>  	},
>> -	{ XE_RTP_NAME("14025676848"),
>> +	{ XE_RTP_NAME("14025676848, 14026270459"),
>>  	  XE_RTP_RULES(GRAPHICS_VERSION(3510), GRAPHICS_STEP(A0, B0),
>>  		       FUNC(xe_rtp_match_first_render_or_compute)),
>>  	  XE_RTP_ACTIONS(SET(LSC_CHICKEN_BIT_0_UDW, LSCFE_SAME_ADDRESS_ATOMICS_COALESCING_DISABLE))
>> 
>> ---
>> base-commit: 10db0c83b0ccc3211990b54235475abb9d383851
>> change-id: 20260610-add-missing-wa-references-c58331fb7e55
>> 
>> Best regards,
>> --  
>> Gustavo Sousa <gustavo.sousa@intel.com>
>> 
>
> -- 
> Matt Roper
> Graphics Software Engineer
> Linux GPU Platform Enablement
> Intel Corporation

      reply	other threads:[~2026-06-12 14:08 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-06-10 21:20 [PATCH] drm/xe/xe3p_lpg: Add missing references to workarounds Gustavo Sousa
2026-06-10 21:28 ` ✓ CI.KUnit: success for " Patchwork
2026-06-10 22:05 ` ✓ Xe.CI.BAT: " Patchwork
2026-06-11  4:43 ` ✓ Xe.CI.FULL: " Patchwork
2026-06-11 21:11 ` [PATCH] " Matt Roper
2026-06-12 14:08   ` Gustavo Sousa [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87mrwz97hf.fsf@intel.com \
    --to=gustavo.sousa@intel.com \
    --cc=intel-xe@lists.freedesktop.org \
    --cc=matthew.d.roper@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox