From: Sobin Thomas <sobin.thomas@intel.com>
To: igt-dev@lists.freedesktop.org
Cc: kamil.konieczny@intel.com, zbigniew.kempczynski@intel.com,
priyanka.dandamudi@intel.com,
Sobin Thomas <sobin.thomas@intel.com>
Subject: [PATCH i-g-t v9 3/3] lib/intel_compute: Adjust long kernel usage for WMTP
Date: Fri, 3 Oct 2025 05:26:21 +0000 [thread overview]
Message-ID: <20251003052640.56068-4-sobin.thomas@intel.com> (raw)
In-Reply-To: <20251003052640.56068-1-sobin.thomas@intel.com>
WMTP uses different shaders SIP and loop kernel and does not
require a separate long_kernel; This will make long kernel test to
be enabled or Thread group preemption tests.
Signed-off-by: Sobin Thomas <sobin.thomas@intel.com>
---
lib/intel_compute.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/lib/intel_compute.c b/lib/intel_compute.c
index ade0b44c1..23931f089 100644
--- a/lib/intel_compute.c
+++ b/lib/intel_compute.c
@@ -72,7 +72,6 @@
* WMTP - Walker Mid Thread Preemption
*/
#define TGP_long_kernel_loop_count 10
-#define WMTP_long_kernel_loop_count 1000000
#define XE2_THREADGROUP_PREEMPT_XDIM 0x4000
struct bo_dict_entry {
@@ -2135,8 +2134,6 @@ static void xe2lpg_compute_preempt_exec(int fd, const unsigned char *long_kernel
if (threadgroup_preemption)
long_kernel_loop_count = TGP_long_kernel_loop_count;
- else
- long_kernel_loop_count = WMTP_long_kernel_loop_count;
for (int i = 0; i < entries; ++i)
bo_dict_short[i] = bo_dict_long[i];
--
2.51.0
next prev parent reply other threads:[~2025-10-03 5:27 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-10-03 5:26 [PATCH i-g-t v9 0/3] tests/intel/xe_compute_preempt: Compute preemption check Sobin Thomas
2025-10-03 5:26 ` [PATCH i-g-t v9 1/3] " Sobin Thomas
2025-10-10 8:57 ` Zbigniew Kempczyński
2025-10-10 9:09 ` Zbigniew Kempczyński
2025-10-03 5:26 ` [PATCH i-g-t v9 2/3] lib/intel/intel_compute: Add kernel lookup and validation for compute IP versions Sobin Thomas
2025-10-10 9:23 ` Zbigniew Kempczyński
2025-10-03 5:26 ` Sobin Thomas [this message]
2025-10-10 9:24 ` [PATCH i-g-t v9 3/3] lib/intel_compute: Adjust long kernel usage for WMTP Zbigniew Kempczyński
2025-10-03 7:11 ` ✓ Xe.CI.BAT: success for tests/intel/xe_compute_preempt: Compute preemption check Patchwork
2025-10-03 7:11 ` ✗ Xe.CI.BAT: failure " Patchwork
2025-10-03 7:26 ` ✗ i915.CI.BAT: " Patchwork
2025-10-03 8:43 ` ✗ Xe.CI.Full: " 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=20251003052640.56068-4-sobin.thomas@intel.com \
--to=sobin.thomas@intel.com \
--cc=igt-dev@lists.freedesktop.org \
--cc=kamil.konieczny@intel.com \
--cc=priyanka.dandamudi@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 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.