Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Gustavo Sousa <gustavo.sousa@intel.com>
To: <tilak.tirumalesh.tangudu@intel.com>,
	<tilak.tirumalesh.tangudu@intel.com>,
	<intel-xe@lists.freedesktop.org>
Subject: Re: [PATCH] drm/xe/xe3p_lpg: Add support for Wa_16030224309
Date: Tue, 22 Sep 2026 09:40:01 -0300	[thread overview]
Message-ID: <87a4p9foim.fsf@intel.com> (raw)
In-Reply-To: <20260922073518.1444952-1-tilak.tirumalesh.tangudu@intel.com>

<tilak.tirumalesh.tangudu@intel.com> writes:

> From: Tangudu Tilak Tirumalesh <tilak.tirumalesh.tangudu@intel.com>
>
> Opt in to the GuC workaround, to ignore context completion status
> with preemption or preemption-to-idle in the CSB when the multi-queue
> feature is enabled, which is supported on Graphics Version 35.10.
> This WA is supported starting from GuC 70.73.
>
> Apply Wa_16030224309 to Graphics Version 35.10.
>
> Signed-off-by: Tangudu Tilak Tirumalesh <tilak.tirumalesh.tangudu@intel.com>
> ---

Reviewed-by: Gustavo Sousa <gustavo.sousa@intel.com>

>  drivers/gpu/drm/xe/abi/guc_klvs_abi.h | 1 +
>  drivers/gpu/drm/xe/xe_guc_ads.c       | 6 ++++++
>  drivers/gpu/drm/xe/xe_wa_oob.rules    | 1 +
>  3 files changed, 8 insertions(+)
>
> diff --git a/drivers/gpu/drm/xe/abi/guc_klvs_abi.h b/drivers/gpu/drm/xe/abi/guc_klvs_abi.h
> index 685c4ef17b73..4bcdc1a96785 100644
> --- a/drivers/gpu/drm/xe/abi/guc_klvs_abi.h
> +++ b/drivers/gpu/drm/xe/abi/guc_klvs_abi.h
> @@ -525,6 +525,7 @@ enum xe_guc_klv_ids {
>  	GUC_WA_KLV_CLR_CS_INDIRECT_RING_STATE_IF_IDLE_AT_CTX_REG			= 0x900e,
>  	GUC_WA_KLV_REMAP_RANGED_TLB_INV							= 0x900f,
>  	GUC_WA_KLV_IGNORE_MMIO_READ_SEM_TOKEN_64					= 0x9010,
> +	GUC_WA_KLV_IGNORE_MULTIQ_CTX_COMPLETE_WITH_PREEMPT_IN_CSB			= 0x9011,
>  };
>  
>  /**
> diff --git a/drivers/gpu/drm/xe/xe_guc_ads.c b/drivers/gpu/drm/xe/xe_guc_ads.c
> index ff8eee3831aa..70babe95a6aa 100644
> --- a/drivers/gpu/drm/xe/xe_guc_ads.c
> +++ b/drivers/gpu/drm/xe/xe_guc_ads.c
> @@ -396,6 +396,12 @@ static void guc_waklv_init(struct xe_guc_ads *ads)
>  				 GUC_FEATURE_KLV_DISABLE_MULTI_QUEUE);
>  	}
>  
> +	/* GuC only applies this WA for scheduled MultiQ contexts; no KMD-side gating needed. */
> +	if (XE_GT_WA(gt, 16030224309) &&
> +	    GUC_FIRMWARE_VER_AT_LEAST(&gt->uc.guc, 70, 73))
> +		guc_waklv_enable(ads, NULL, 0, &offset, &remain,
> +				 GUC_WA_KLV_IGNORE_MULTIQ_CTX_COMPLETE_WITH_PREEMPT_IN_CSB);
> +
>  	size = guc_ads_waklv_size(ads) - remain;
>  	if (!size)
>  		return;
> diff --git a/drivers/gpu/drm/xe/xe_wa_oob.rules b/drivers/gpu/drm/xe/xe_wa_oob.rules
> index dd69ad07f7a9..d06ee78bf534 100644
> --- a/drivers/gpu/drm/xe/xe_wa_oob.rules
> +++ b/drivers/gpu/drm/xe/xe_wa_oob.rules
> @@ -72,3 +72,4 @@
>  16029897822	MEDIA_VERSION(3500)
>  		GRAPHICS_VERSION(3510)
>  14027054324	GRAPHICS_VERSION(3511)
> +16030224309	GRAPHICS_VERSION(3510)
> -- 
> 2.46.0

  parent reply	other threads:[~2026-09-22 12:40 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-22  7:35 [PATCH] drm/xe/xe3p_lpg: Add support for Wa_16030224309 tilak.tirumalesh.tangudu
2026-09-22  7:44 ` ✓ CI.KUnit: success for " Patchwork
2026-09-22  9:03 ` ✓ Xe.CI.BAT: " Patchwork
2026-09-22 12:40 ` Gustavo Sousa [this message]
2026-09-22 16:55 ` ✓ Xe.CI.FULL: " Patchwork
2026-09-25 15:23 ` [PATCH] " Lin, Shuicheng
  -- strict thread matches above, loose matches on Subject: below --
2026-09-25 17:27 tilak.tirumalesh.tangudu

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=87a4p9foim.fsf@intel.com \
    --to=gustavo.sousa@intel.com \
    --cc=intel-xe@lists.freedesktop.org \
    --cc=tilak.tirumalesh.tangudu@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