From: sai.gowtham.ch@intel.com
To: igt-dev@lists.freedesktop.org, sai.gowtham.ch@intel.com,
zbigniew.kempczynski@intel.com
Subject: [PATCH] lib/intel_compute_square_kernels: Extend compute test for ptl
Date: Fri, 14 Feb 2025 11:45:29 +0000 [thread overview]
Message-ID: <20250214114529.76197-1-sai.gowtham.ch@intel.com> (raw)
From: Sai Gowtham Ch <sai.gowtham.ch@intel.com>
Current compute square kernel tests dosen't support on PTL, this enables
tests to work on PTL.
CC: Zbigniew Kempczyński <zbigniew.kempczynski@intel.com>
Signed-off-by: Sai Gowtham Ch <sai.gowtham.ch@intel.com>
---
lib/intel_compute.c | 5 ++++
lib/intel_compute_square_kernels.c | 37 ++++++++++++++++++++++++++++++
2 files changed, 42 insertions(+)
diff --git a/lib/intel_compute.c b/lib/intel_compute.c
index 233835c6c..bca763328 100644
--- a/lib/intel_compute.c
+++ b/lib/intel_compute.c
@@ -1729,6 +1729,11 @@ static const struct {
.compute_exec = xe2lpg_compute_exec,
.compat = COMPAT_DRIVER_XE,
},
+ {
+ .ip_ver = IP_VER(30, 00),
+ .compute_exec = xe2lpg_compute_exec,
+ .compat = COMPAT_DRIVER_XE,
+ },
};
static bool __run_intel_compute_kernel(int fd,
diff --git a/lib/intel_compute_square_kernels.c b/lib/intel_compute_square_kernels.c
index b0912e7e4..aa608eab8 100644
--- a/lib/intel_compute_square_kernels.c
+++ b/lib/intel_compute_square_kernels.c
@@ -3889,6 +3889,38 @@ unsigned char xelpg_kernel_square_bin[] = {
0x00, 0x00, 0x00, 0x00
};
+static const unsigned char xe3lpg_kernel_square_bin[] = {
+ 0x65, 0xa0, 0x00, 0x80, 0x20, 0x82, 0x05, 0x1f, 0x04, 0x00, 0x00,
+ 0x02, 0xc0, 0xff, 0xff, 0xff, 0x40, 0x19, 0x00, 0x80, 0x20, 0x82,
+ 0x05, 0x1f, 0x04, 0x1f, 0x00, 0x02, 0x00, 0x00, 0x00, 0x00, 0x31,
+ 0x22, 0x03, 0x80, 0x00, 0x00, 0x0c, 0x05, 0x8f, 0x1f, 0x00, 0xfa,
+ 0x03, 0x00, 0x70, 0xf6, 0x61, 0x80, 0x24, 0x2c, 0x02, 0x00, 0x10,
+ 0x00, 0x66, 0x09, 0x00, 0x80, 0x20, 0x82, 0x01, 0x80, 0x00, 0x80,
+ 0x00, 0x02, 0xc0, 0x04, 0x00, 0x40, 0x41, 0x22, 0x03, 0x80, 0x60,
+ 0x06, 0x01, 0x20, 0x54, 0x05, 0x00, 0x01, 0x14, 0x02, 0x00, 0x00,
+ 0x53, 0x81, 0x00, 0x80, 0x60, 0x06, 0x05, 0x03, 0x54, 0x05, 0x00,
+ 0x06, 0x14, 0x02, 0x00, 0x00, 0x52, 0x19, 0x14, 0x00, 0x60, 0x06,
+ 0x04, 0x06, 0x04, 0x03, 0x0e, 0x01, 0x04, 0x01, 0x04, 0x04, 0x70,
+ 0x19, 0x14, 0x00, 0x20, 0x02, 0x01, 0x00, 0x04, 0x06, 0x10, 0x52,
+ 0x44, 0x05, 0x00, 0x00, 0x2e, 0x00, 0x14, 0x14, 0x00, 0xc0, 0x00,
+ 0x00, 0x88, 0x00, 0x00, 0x00, 0x88, 0x00, 0x00, 0x00, 0x61, 0x00,
+ 0x00, 0xb4, 0x15, 0x06, 0x10, 0x00, 0x61, 0x00, 0x08, 0xb4, 0x17,
+ 0x07, 0x10, 0x00, 0x69, 0x1a, 0x10, 0x00, 0x70, 0x86, 0x05, 0x19,
+ 0x04, 0x15, 0x20, 0x05, 0x02, 0x00, 0x02, 0x00, 0x69, 0x1a, 0x10,
+ 0x02, 0x70, 0x86, 0x05, 0x1b, 0x04, 0x17, 0x20, 0x05, 0x02, 0x00,
+ 0x02, 0x00, 0x40, 0x1a, 0x00, 0x38, 0x08, 0x19, 0x10, 0x05, 0x40,
+ 0x1a, 0x08, 0x38, 0x0a, 0x1b, 0x10, 0x05, 0x31, 0x23, 0x17, 0x00,
+ 0x00, 0x00, 0x14, 0x0c, 0x24, 0x08, 0x00, 0xfb, 0x00, 0x00, 0x00,
+ 0x00, 0x40, 0x00, 0x00, 0x38, 0x10, 0x19, 0x30, 0x05, 0x40, 0x00,
+ 0x08, 0x38, 0x12, 0x1b, 0x30, 0x05, 0x41, 0x83, 0x20, 0x20, 0x0e,
+ 0x0c, 0x00, 0x0c, 0x31, 0x24, 0x15, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0x24, 0x10, 0x08, 0xfb, 0x14, 0x0e, 0x00, 0x00, 0x2f, 0x00, 0x14,
+ 0x00, 0x00, 0x40, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0x00,
+ 0x00, 0x00, 0x61, 0x00, 0x10, 0x28, 0x14, 0x02, 0x10, 0x00, 0x31,
+ 0x20, 0x02, 0x80, 0x04, 0x00, 0x00, 0x00, 0x0c, 0x14, 0x20, 0x30,
+ 0x00, 0x00, 0x00, 0x00
+};
+
const struct intel_compute_kernels intel_compute_square_kernels[] = {
{
.ip_ver = IP_VER(12, 0),
@@ -3933,5 +3965,10 @@ const struct intel_compute_kernels intel_compute_square_kernels[] = {
.sip_kernel = xe2lpg_kernel_sip_bin,
.sip_kernel_size = sizeof(xe2lpg_kernel_sip_bin),
},
+ {
+ .ip_ver = IP_VER(30, 00),
+ .size = sizeof(xe3lpg_kernel_square_bin),
+ .kernel = xe3lpg_kernel_square_bin,
+ },
{}
};
--
2.43.0
next reply other threads:[~2025-02-14 11:45 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-02-14 11:45 sai.gowtham.ch [this message]
2025-02-14 12:16 ` ✓ Xe.CI.BAT: success for lib/intel_compute_square_kernels: Extend compute test for ptl (rev3) Patchwork
2025-02-14 12:34 ` ✓ i915.CI.BAT: " Patchwork
2025-02-14 14:27 ` ✗ i915.CI.Full: failure " Patchwork
2025-02-15 9:31 ` ✗ Xe.CI.Full: " Patchwork
2025-02-17 5:31 ` Ch, Sai Gowtham
-- strict thread matches above, loose matches on Subject: below --
2025-02-14 7:05 [PATCH] lib/intel_compute_square_kernels: Extend compute test for ptl sai.gowtham.ch
2025-02-14 10:10 ` Zbigniew Kempczyński
2025-02-14 11:17 ` Ch, Sai Gowtham
2025-02-14 11:30 ` Zbigniew Kempczyński
2025-02-15 4:49 ` Dandamudi, Priyanka
2025-02-13 19:19 sai.gowtham.ch
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=20250214114529.76197-1-sai.gowtham.ch@intel.com \
--to=sai.gowtham.ch@intel.com \
--cc=igt-dev@lists.freedesktop.org \
--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