public inbox for igt-dev@lists.freedesktop.org
 help / color / mirror / Atom feed
From: himanshu.girotra@intel.com
To: ramadevi.gandi@intel.com, nishit.sharma@intel.com,
	aditya.chauhan@intel.com, kamil.konieczny@intel.com,
	shekhar.chauhan@intel.com, zbigniew.kempczynski@intel.com,
	igt-dev@lists.freedesktop.org
Subject: [PATCH v3 i-g-t 4/4] lib: Add WildcatLake to compute kernel tables
Date: Thu, 12 Mar 2026 21:33:28 +0530	[thread overview]
Message-ID: <20260312160328.9462-5-himanshu.girotra@intel.com> (raw)
In-Reply-To: <20260312160328.9462-1-himanshu.girotra@intel.com>

From: Himanshu Girotra <himanshu.girotra@intel.com>

WildcatLake uses graphics IP 30.03 (Xe3_LPG), distinct from PTL's
30.00. The compute kernel lookup uses exact ip_ver matching, so without
a dedicated entry for IP_VER(30, 03), compute tests would skip on WCL
with "GPU not supported".

Add IP_VER(30, 03) entries to:
- intel_compute_square_kernels[]
- intel_compute_batches[]
- intel_compute_preempt_batches[]

Signed-off-by: Himanshu Girotra <himanshu.girotra@intel.com>
---
 lib/intel_compute.c                | 11 +++++++++++
 lib/intel_compute_square_kernels.c | 11 +++++++++++
 2 files changed, 22 insertions(+)

diff --git a/lib/intel_compute.c b/lib/intel_compute.c
index 0d1e0290f..b3336a7b5 100644
--- a/lib/intel_compute.c
+++ b/lib/intel_compute.c
@@ -2299,6 +2299,11 @@ static const struct {
 		.compute_exec = xe2lpg_compute_exec,
 		.compat = COMPAT_DRIVER_XE,
 	},
+	{
+		.ip_ver = IP_VER(30, 03),
+		.compute_exec = xe2lpg_compute_exec,
+		.compat = COMPAT_DRIVER_XE,
+	},
 	{
 		.ip_ver = IP_VER(30, 04),
 		.compute_exec = xe2lpg_compute_exec,
@@ -2803,6 +2808,12 @@ static const struct {
 		.compat = COMPAT_DRIVER_XE,
 		.preempt_type = PREEMPT_TGP | PREEMPT_WMTP,
 	},
+	{
+		.ip_ver = IP_VER(30, 03),
+		.compute_exec = xe2lpg_compute_preempt_exec,
+		.compat = COMPAT_DRIVER_XE,
+		.preempt_type = PREEMPT_TGP | PREEMPT_WMTP,
+	},
 	{
 		.ip_ver = IP_VER(30, 04),
 		.compute_exec = xe2lpg_compute_preempt_exec,
diff --git a/lib/intel_compute_square_kernels.c b/lib/intel_compute_square_kernels.c
index 7607fadc3..a612092fc 100644
--- a/lib/intel_compute_square_kernels.c
+++ b/lib/intel_compute_square_kernels.c
@@ -75,6 +75,17 @@ const struct intel_compute_kernels intel_compute_square_kernels[] = {
 		.loop_kernel = xe3lpg_kernel_loop_bin,
 		.loop_kernel_size = sizeof(xe3lpg_kernel_loop_bin),
 	},
+	{
+		.ip_ver = IP_VER(30, 03),
+		.size = sizeof(xe3lpg_kernel_square_bin),
+		.kernel = xe3lpg_kernel_square_bin,
+		.long_kernel = xe3lpg_kernel_count_bin,
+		.long_kernel_size = sizeof(xe3lpg_kernel_count_bin),
+		.sip_kernel = xe3lpg_kernel_sip_bin,
+		.sip_kernel_size = sizeof(xe3lpg_kernel_sip_bin),
+		.loop_kernel = xe3lpg_kernel_loop_bin,
+		.loop_kernel_size = sizeof(xe3lpg_kernel_loop_bin),
+	},
 	{
 		.ip_ver = IP_VER(30, 04),
 		.size = sizeof(xe3lpg_kernel_square_bin),
-- 
2.50.1


  parent reply	other threads:[~2026-03-12 16:03 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-03-12 16:03 [PATCH v3 i-g-t 0/4] lib: Add NVL-P and WCL support himanshu.girotra
2026-03-12 16:03 ` [PATCH v3 i-g-t 1/4] lib/pciids: sync with kernel commit be07d8f707e4 himanshu.girotra
2026-03-12 16:03 ` [PATCH v3 i-g-t 2/4] lib: Add NVL-P support himanshu.girotra
2026-03-12 16:03 ` [PATCH v3 i-g-t 3/4] lib: Add WildcatLake support himanshu.girotra
2026-03-12 16:03 ` himanshu.girotra [this message]
2026-03-13  5:21   ` [PATCH v3 i-g-t 4/4] lib: Add WildcatLake to compute kernel tables Dandamudi, Priyanka
2026-03-12 21:46 ` ✓ Xe.CI.BAT: success for lib: Add NVL-P and WCL support (rev3) Patchwork
2026-03-12 22:00 ` ✓ i915.CI.BAT: " Patchwork
2026-03-14  0:29 ` ✓ Xe.CI.FULL: " Patchwork
2026-03-14  0:33 ` ✗ i915.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=20260312160328.9462-5-himanshu.girotra@intel.com \
    --to=himanshu.girotra@intel.com \
    --cc=aditya.chauhan@intel.com \
    --cc=igt-dev@lists.freedesktop.org \
    --cc=kamil.konieczny@intel.com \
    --cc=nishit.sharma@intel.com \
    --cc=ramadevi.gandi@intel.com \
    --cc=shekhar.chauhan@intel.com \
    --cc=zbigniew.kempczynski@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