From: "Vivekanandan, Balasubramani" <balasubramani.vivekanandan@intel.com>
To: Dnyaneshwar Bhadane <dnyaneshwar.bhadane@intel.com>,
<intel-xe@lists.freedesktop.org>
Cc: Matt Roper <matthew.d.roper@intel.com>
Subject: Re: [PATCH 3/9] drm/xe/xe3: Add support for media IP version 30.02
Date: Mon, 9 Jun 2025 12:41:18 +0530 [thread overview]
Message-ID: <aEaJFndEK6pwoB3P@bvivekan-mob1> (raw)
In-Reply-To: <20250606195104.1771715-4-dnyaneshwar.bhadane@intel.com>
On 07.06.2025 01:20, Dnyaneshwar Bhadane wrote:
> From: Matt Roper <matthew.d.roper@intel.com>
>
> Media version 30.02 should be treated the same as other Xe3 IP, but
> will have a slightly different set of workarounds.
>
> Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
> Signed-off-by: Dnyaneshwar Bhadane <dnyaneshwar.bhadane@intel.com>
> ---
> drivers/gpu/drm/xe/xe_pci.c | 1 +
> drivers/gpu/drm/xe/xe_wa.c | 12 ++++++++++++
> drivers/gpu/drm/xe/xe_wa_oob.rules | 3 ++-
> 3 files changed, 15 insertions(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/xe/xe_pci.c b/drivers/gpu/drm/xe/xe_pci.c
> index 8824a8016b1c..46d4d9af0ed0 100644
> --- a/drivers/gpu/drm/xe/xe_pci.c
> +++ b/drivers/gpu/drm/xe/xe_pci.c
> @@ -196,6 +196,7 @@ static const struct xe_ip media_ips[] = {
> { 1301, "Xe2_HPM", &media_xelpmp },
> { 2000, "Xe2_LPM", &media_xelpmp },
> { 3000, "Xe3_LPM", &media_xelpmp },
> + { 3002, "Xe3_LPM", &media_xelpmp },
> };
>
> static const struct xe_device_desc tgl_desc = {
> diff --git a/drivers/gpu/drm/xe/xe_wa.c b/drivers/gpu/drm/xe/xe_wa.c
> index 5f750054a9c4..7ff79abe23e7 100644
> --- a/drivers/gpu/drm/xe/xe_wa.c
> +++ b/drivers/gpu/drm/xe/xe_wa.c
> @@ -285,6 +285,18 @@ static const struct xe_rtp_entry_sr gt_was[] = {
> XE_RTP_ACTIONS(SET(VDBOX_CGCTL3F10(0), IECPUNIT_CLKGATE_DIS)),
> XE_RTP_ENTRY_FLAG(FOREACH_ENGINE),
> },
> + { XE_RTP_NAME("16021865536"),
> + XE_RTP_RULES(MEDIA_VERSION(3002),
> + ENGINE_CLASS(VIDEO_DECODE)),
> + XE_RTP_ACTIONS(SET(VDBOX_CGCTL3F10(0), IECPUNIT_CLKGATE_DIS)),
> + XE_RTP_ENTRY_FLAG(FOREACH_ENGINE),
> + },
> + { XE_RTP_NAME("16021867713"),
> + XE_RTP_RULES(MEDIA_VERSION(3002),
> + ENGINE_CLASS(VIDEO_DECODE)),
> + XE_RTP_ACTIONS(SET(VDBOX_CGCTL3F1C(0), MFXPIPE_CLKGATE_DIS)),
> + XE_RTP_ENTRY_FLAG(FOREACH_ENGINE),
> + },
Instead of adding new entries, update the existing entry for
MEDIA_VERSION(3000) for both the WAs.
> { XE_RTP_NAME("14021486841"),
> XE_RTP_RULES(MEDIA_VERSION(3000), MEDIA_STEP(A0, B0),
> ENGINE_CLASS(VIDEO_DECODE)),
> diff --git a/drivers/gpu/drm/xe/xe_wa_oob.rules b/drivers/gpu/drm/xe/xe_wa_oob.rules
> index 557d23c1bb9f..e46b4975ebef 100644
> --- a/drivers/gpu/drm/xe/xe_wa_oob.rules
> +++ b/drivers/gpu/drm/xe/xe_wa_oob.rules
> @@ -59,6 +59,7 @@ no_media_l3 MEDIA_VERSION(3000)
> GRAPHICS_VERSION(1260), GRAPHICS_STEP(A0, B0)
> 16023105232 GRAPHICS_VERSION_RANGE(2001, 3001)
> MEDIA_VERSION_RANGE(1301, 3000)
> + MEDIA_VERSION(3002)
Same here, extend the range in the previous line
Regards,
Bala
> GRAPHICS_VERSION(3003)
> 16026508708 GRAPHICS_VERSION_RANGE(1200, 3003)
> - MEDIA_VERSION_RANGE(1300, 3000)
> + MEDIA_VERSION_RANGE(1300, 3002)
> --
> 2.34.1
>
next prev parent reply other threads:[~2025-06-09 7:11 UTC|newest]
Thread overview: 34+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-06-06 19:50 [PATCH 0/9] Add WildCat Lake support Dnyaneshwar Bhadane
2025-06-06 19:50 ` [PATCH 1/9] drm/i915/xe3lpd: Add support for display version 30.02 Dnyaneshwar Bhadane
2025-06-09 14:36 ` Matt Roper
2025-06-06 19:50 ` [PATCH 2/9] drm/xe/xe3: Add support for graphics IP version 30.03 Dnyaneshwar Bhadane
2025-06-09 7:00 ` Vivekanandan, Balasubramani
2025-06-11 14:31 ` Bhadane, Dnyaneshwar
2025-06-06 19:50 ` [PATCH 3/9] drm/xe/xe3: Add support for media IP version 30.02 Dnyaneshwar Bhadane
2025-06-09 7:11 ` Vivekanandan, Balasubramani [this message]
2025-06-06 19:50 ` [PATCH v2 4/9] drm/i915/xe3lpd: Update bandwidth parameters for display " Dnyaneshwar Bhadane
2025-06-09 17:13 ` Gustavo Sousa
2025-06-06 19:51 ` [PATCH 5/9] drm/i915: Set max cdclk for display 30.02 Dnyaneshwar Bhadane
2025-06-06 19:51 ` [PATCH 6/9] drm/xe: Add Wildcat Lake device IDs to PTL list Dnyaneshwar Bhadane
2025-06-06 19:51 ` [PATCH 7/9] drm/i915/xe3lpd: Extend DMC path for display version 30.02 Dnyaneshwar Bhadane
2025-06-06 19:51 ` [PATCH 8/9] drm/i915/wcl: C10 phy connected to port A and B Dnyaneshwar Bhadane
2025-06-09 15:05 ` Matt Roper
2025-06-10 13:49 ` Bhadane, Dnyaneshwar
2025-06-10 15:13 ` Matt Roper
2025-06-10 16:31 ` Taylor, Clinton A
2025-06-10 16:53 ` Matt Roper
2025-06-16 16:45 ` Bhadane, Dnyaneshwar
2025-06-06 19:51 ` [PATCH 9/9] drm/i915/xe3lpd: Extend WA 16023981245 for display 30.02 Dnyaneshwar Bhadane
2025-06-09 6:53 ` Pottumuttu, Sai Teja
2025-06-09 7:18 ` Vivekanandan, Balasubramani
2025-06-09 8:21 ` Bhadane, Dnyaneshwar
2025-06-09 15:09 ` Matt Roper
2025-06-09 16:01 ` Bhadane, Dnyaneshwar
2025-06-06 20:27 ` ✓ CI.Patch_applied: success for Add WildCat Lake support (rev3) Patchwork
2025-06-06 20:28 ` ✓ CI.checkpatch: " Patchwork
2025-06-06 20:29 ` ✓ CI.KUnit: " Patchwork
2025-06-06 20:39 ` ✓ CI.Build: " Patchwork
2025-06-06 20:42 ` ✓ CI.Hooks: " Patchwork
2025-06-06 20:44 ` ✗ CI.checksparse: warning " Patchwork
2025-06-06 21:28 ` ✓ Xe.CI.BAT: success " Patchwork
2025-06-09 4:15 ` ✗ Xe.CI.Full: failure " Patchwork
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=aEaJFndEK6pwoB3P@bvivekan-mob1 \
--to=balasubramani.vivekanandan@intel.com \
--cc=dnyaneshwar.bhadane@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