From: "Vivekanandan, Balasubramani" <balasubramani.vivekanandan@intel.com>
To: Matt Roper <matthew.d.roper@intel.com>, <intel-xe@lists.freedesktop.org>
Subject: Re: [PATCH v2 12/23] drm/xe: Consolidate workaround entries for Wa_16021639441
Date: Mon, 23 Feb 2026 20:34:56 +0530 [thread overview]
Message-ID: <aZxsmENJSRGJ0BFD@bvivekan-mob1> (raw)
In-Reply-To: <20260220-forupstream-wa_cleanup-v2-12-b12005a05af6@intel.com>
On 20.02.2026 09:27, Matt Roper wrote:
> Wa_16021639441 applies to all graphics versions from 20.01 through 20.04
> (inclusive) and all media versions from 13.01 to 20.00 (inclusive).
> Consolidate the RTP entries into a single range-based entry.
> Also drop the reference to Wa_18032095049 which was only relevant to
> pre-production platforms that we no longer support.
>
> Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
> ---
> drivers/gpu/drm/xe/xe_wa.c | 59 ++++++++++------------------------------------
> 1 file changed, 13 insertions(+), 46 deletions(-)
LGTM.
Reviewed-by: Balasubramani Vivekanandan <balasubramani.vivekanandan@intel.com>
Regards,
Bala
>
> diff --git a/drivers/gpu/drm/xe/xe_wa.c b/drivers/gpu/drm/xe/xe_wa.c
> index 9119ca9ba1031d9180b44c13a702e1bb04fd0ca6..f0c42be062146837e6ba40621af54fcafa34f8e8 100644
> --- a/drivers/gpu/drm/xe/xe_wa.c
> +++ b/drivers/gpu/drm/xe/xe_wa.c
> @@ -363,6 +363,19 @@ static const struct xe_rtp_entry_sr engine_was[] = {
> FUNC(xe_rtp_match_first_render_or_compute)),
> XE_RTP_ACTIONS(SET(LSC_CHICKEN_BIT_0_UDW, ENABLE_SMP_LD_RENDER_SURFACE_CONTROL))
> },
> + /*
> + * Although this workaround isn't required for the RCS, disabling these
> + * reports has no impact for our driver or the GuC, so we go ahead and
> + * apply this to all engines for simplicity.
> + */
> + { XE_RTP_NAME("16021639441"),
> + XE_RTP_RULES(GRAPHICS_VERSION_RANGE(2001, 2004), OR,
> + MEDIA_VERSION_RANGE(1301, 2000)),
> + XE_RTP_ACTIONS(SET(CSFE_CHICKEN1(0),
> + GHWSP_CSB_REPORT_DIS |
> + PPHWSP_CSB_AND_TIMESTAMP_REPORT_DIS,
> + XE_RTP_ACTION_FLAG(ENGINE_BASE)))
> + },
>
> /* TGL */
>
> @@ -505,20 +518,6 @@ static const struct xe_rtp_entry_sr engine_was[] = {
> FUNC(xe_rtp_match_first_render_or_compute)),
> XE_RTP_ACTIONS(SET(ROW_CHICKEN4, DISABLE_TDL_PUSH))
> },
> - /*
> - * These two workarounds are the same, just applying to different
> - * engines. Although Wa_18032095049 (for the RCS) isn't required on
> - * all steppings, disabling these reports has no impact for our
> - * driver or the GuC, so we go ahead and treat it the same as
> - * Wa_16021639441 which does apply to all steppings.
> - */
> - { XE_RTP_NAME("18032095049, 16021639441"),
> - XE_RTP_RULES(GRAPHICS_VERSION(2004)),
> - XE_RTP_ACTIONS(SET(CSFE_CHICKEN1(0),
> - GHWSP_CSB_REPORT_DIS |
> - PPHWSP_CSB_AND_TIMESTAMP_REPORT_DIS,
> - XE_RTP_ACTION_FLAG(ENGINE_BASE)))
> - },
> { XE_RTP_NAME("16018610683"),
> XE_RTP_RULES(GRAPHICS_VERSION(2004), FUNC(xe_rtp_match_first_render_or_compute)),
> XE_RTP_ACTIONS(SET(TDL_TSL_CHICKEN, SLM_WMTP_RESTORE))
> @@ -546,18 +545,6 @@ static const struct xe_rtp_entry_sr engine_was[] = {
> FUNC(xe_rtp_match_first_render_or_compute)),
> XE_RTP_ACTIONS(SET(ROW_CHICKEN, EARLY_EOT_DIS))
> },
> - /*
> - * Although this workaround isn't required for the RCS, disabling these
> - * reports has no impact for our driver or the GuC, so we go ahead and
> - * apply this to all engines for simplicity.
> - */
> - { XE_RTP_NAME("16021639441"),
> - XE_RTP_RULES(GRAPHICS_VERSION_RANGE(2001, 2002)),
> - XE_RTP_ACTIONS(SET(CSFE_CHICKEN1(0),
> - GHWSP_CSB_REPORT_DIS |
> - PPHWSP_CSB_AND_TIMESTAMP_REPORT_DIS,
> - XE_RTP_ACTION_FLAG(ENGINE_BASE)))
> - },
> { XE_RTP_NAME("14019811474"),
> XE_RTP_RULES(GRAPHICS_VERSION(2001),
> FUNC(xe_rtp_match_first_render_or_compute)),
> @@ -584,26 +571,6 @@ static const struct xe_rtp_entry_sr engine_was[] = {
> XE_RTP_ACTIONS(SET(TDL_CHICKEN, EUSTALL_PERF_SAMPLING_DISABLE))
> },
>
> - /* Xe2_LPM */
> -
> - { XE_RTP_NAME("16021639441"),
> - XE_RTP_RULES(MEDIA_VERSION(2000)),
> - XE_RTP_ACTIONS(SET(CSFE_CHICKEN1(0),
> - GHWSP_CSB_REPORT_DIS |
> - PPHWSP_CSB_AND_TIMESTAMP_REPORT_DIS,
> - XE_RTP_ACTION_FLAG(ENGINE_BASE)))
> - },
> -
> - /* Xe2_HPM */
> -
> - { XE_RTP_NAME("16021639441"),
> - XE_RTP_RULES(MEDIA_VERSION(1301)),
> - XE_RTP_ACTIONS(SET(CSFE_CHICKEN1(0),
> - GHWSP_CSB_REPORT_DIS |
> - PPHWSP_CSB_AND_TIMESTAMP_REPORT_DIS,
> - XE_RTP_ACTION_FLAG(ENGINE_BASE)))
> - },
> -
> /* Xe3_LPG */
>
> { XE_RTP_NAME("14021402888"),
>
> --
> 2.53.0
>
next prev parent reply other threads:[~2026-02-23 15:05 UTC|newest]
Thread overview: 53+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-02-20 17:27 [PATCH v2 00/23] Workaround cleanup & simplification Matt Roper
2026-02-20 17:27 ` [PATCH v2 01/23] drm/xe/mtl: Drop pre-prod workarounds Wa_14015795083 & Wa_14014475959 Matt Roper
2026-02-23 7:57 ` Vivekanandan, Balasubramani
2026-02-20 17:27 ` [PATCH v2 02/23] drm/xe/pvc: Drop pre-prod workarounds Matt Roper
2026-02-23 8:27 ` Vivekanandan, Balasubramani
2026-02-20 17:27 ` [PATCH v2 03/23] drm/xe/wa: Document new policy regarding workaround IP ranges Matt Roper
2026-02-20 17:27 ` [PATCH v2 04/23] drm/xe: Consolidate workaround entries for Wa_16021867713 Matt Roper
2026-02-23 9:57 ` Vivekanandan, Balasubramani
2026-02-20 17:27 ` [PATCH v2 05/23] drm/xe: Consolidate workaround entries for Wa_14019449301 Matt Roper
2026-02-23 10:00 ` Vivekanandan, Balasubramani
2026-02-20 17:27 ` [PATCH v2 06/23] drm/xe: Consolidate workaround entries for Wa_16028005424 Matt Roper
2026-02-23 14:03 ` Vivekanandan, Balasubramani
2026-02-20 17:27 ` [PATCH v2 07/23] drm/xe: Consolidate workaround entries for Wa_16021865536 Matt Roper
2026-02-23 14:08 ` Vivekanandan, Balasubramani
2026-02-20 17:27 ` [PATCH v2 08/23] drm/xe: Consolidate workaround entries for Wa_18032247524 Matt Roper
2026-02-23 14:12 ` Vivekanandan, Balasubramani
2026-02-20 17:27 ` [PATCH v2 09/23] drm/xe: Consolidate workaround entries for Wa_16018712365 Matt Roper
2026-02-23 14:16 ` Vivekanandan, Balasubramani
2026-02-20 17:27 ` [PATCH v2 10/23] drm/xe: Consolidate workaround entries for Wa_14020338487 Matt Roper
2026-02-23 14:19 ` Vivekanandan, Balasubramani
2026-02-20 17:27 ` [PATCH v2 11/23] drm/xe: Consolidate workaround entries for Wa_14018471104 Matt Roper
2026-02-23 14:21 ` Vivekanandan, Balasubramani
2026-02-20 17:27 ` [PATCH v2 12/23] drm/xe: Consolidate workaround entries for Wa_16021639441 Matt Roper
2026-02-23 15:04 ` Vivekanandan, Balasubramani [this message]
2026-02-20 17:27 ` [PATCH v2 13/23] drm/xe: Consolidate workaround entries for Wa_14021402888 Matt Roper
2026-02-23 22:25 ` Lin, Shuicheng
2026-02-20 17:27 ` [PATCH v2 14/23] drm/xe: Consolidate workaround entries for Wa_13012615864 Matt Roper
2026-02-23 21:53 ` Lin, Shuicheng
2026-02-20 17:27 ` [PATCH v2 15/23] drm/xe: Consolidate workaround entries for Wa_18041344222 Matt Roper
2026-02-23 21:47 ` Lin, Shuicheng
2026-02-23 21:51 ` Matt Roper
2026-02-20 17:27 ` [PATCH v2 16/23] drm/xe: Consolidate workaround entries for Wa_14019877138 Matt Roper
2026-02-23 21:33 ` Lin, Shuicheng
2026-02-23 21:41 ` Matt Roper
2026-02-23 22:35 ` Lin, Shuicheng
2026-02-20 17:27 ` [PATCH v2 17/23] drm/xe: Consolidate workaround entries for Wa_14019386621 Matt Roper
2026-02-23 19:11 ` Lin, Shuicheng
2026-02-20 17:27 ` [PATCH v2 18/23] drm/xe: Consolidate workaround entries for Wa_14019988906 Matt Roper
2026-02-23 21:56 ` Lin, Shuicheng
2026-02-20 17:27 ` [PATCH v2 19/23] drm/xe: Consolidate workaround entries for Wa_18033852989 Matt Roper
2026-02-23 19:14 ` Lin, Shuicheng
2026-02-20 17:27 ` [PATCH v2 20/23] drm/xe: Consolidate workaround entries for Wa_15016589081 Matt Roper
2026-02-23 19:06 ` Lin, Shuicheng
2026-02-20 17:27 ` [PATCH v2 21/23] drm/xe/xe2_hpg: Drop invalid workaround Wa_15010599737 Matt Roper
2026-02-24 9:40 ` Vivekanandan, Balasubramani
2026-02-20 17:27 ` [PATCH v2 22/23] drm/xe/wa_oob: Consolidate some OOB rules Matt Roper
2026-02-23 22:44 ` Lin, Shuicheng
2026-02-20 17:27 ` [PATCH v2 23/23] drm/xe: Consolidate workaround entries for Wa_14023061436 Matt Roper
2026-02-23 22:47 ` Lin, Shuicheng
2026-02-20 19:05 ` ✓ CI.KUnit: success for Workaround cleanup & simplification (rev2) Patchwork
2026-02-20 19:46 ` ✓ Xe.CI.BAT: " Patchwork
2026-02-23 7:23 ` ✗ Xe.CI.FULL: failure " Patchwork
2026-02-24 0:07 ` Matt Roper
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=aZxsmENJSRGJ0BFD@bvivekan-mob1 \
--to=balasubramani.vivekanandan@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.