Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH i-g-t v2 0/5] Replace loop in WMTP tests
@ 2025-04-04 12:31 Zbigniew Kempczyński
  2025-04-04 12:31 ` [PATCH i-g-t v2 1/5] lib/intel_compute: add support for stoppable loop Zbigniew Kempczyński
                   ` (7 more replies)
  0 siblings, 8 replies; 14+ messages in thread
From: Zbigniew Kempczyński @ 2025-04-04 12:31 UTC (permalink / raw)
  To: igt-dev; +Cc: Zbigniew Kempczyński, Francois Dugast, Priyanka Dandamudi

Current solution where we run loop with some number of iterations
is problematic because we tweak this number for different platforms.

Start to migrate to loop stoppable from cpu side, where we can
immediately stop long running job via simple memory write instead
of waiting until loop will complete all iterations.

v2: - adjust test number of children according to available ram
    - add compute-preempt-many-all-ram subtest

Cc: Francois Dugast <francois.dugast@intel.com>
Cc: Priyanka Dandamudi <priyanka.dandamudi@intel.com>

Zbigniew Kempczyński (5):
  lib/intel_compute: add support for stoppable loop
  lib/intel_compute_square_kernels: use stoppable loop for LNL/BMG
  lib/intel_compute_square_kernel: add loop shader binary for PTL
  tests/xe_compute_preempt: adjust number of children according to ram
    size
  tests/xe_compute_preempt: consume all ram for wmtp

 lib/intel_compute.c                | 39 ++++++++++++---
 lib/intel_compute.h                |  2 +
 lib/intel_compute_square_kernels.c | 77 ++++++++++++++++++++++++++++++
 opencl/loop.cl                     |  9 ++++
 tests/intel/xe_compute_preempt.c   | 54 ++++++++++++++++++---
 5 files changed, 168 insertions(+), 13 deletions(-)
 create mode 100644 opencl/loop.cl

-- 
2.34.1


^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2025-04-09  8:47 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-04-04 12:31 [PATCH i-g-t v2 0/5] Replace loop in WMTP tests Zbigniew Kempczyński
2025-04-04 12:31 ` [PATCH i-g-t v2 1/5] lib/intel_compute: add support for stoppable loop Zbigniew Kempczyński
2025-04-04 13:18   ` Francois Dugast
2025-04-04 12:31 ` [PATCH i-g-t v2 2/5] lib/intel_compute_square_kernels: use stoppable loop for LNL/BMG Zbigniew Kempczyński
2025-04-04 12:31 ` [PATCH i-g-t v2 3/5] lib/intel_compute_square_kernel: add loop shader binary for PTL Zbigniew Kempczyński
2025-04-04 12:31 ` [PATCH i-g-t v2 4/5] tests/xe_compute_preempt: adjust number of children according to ram size Zbigniew Kempczyński
2025-04-07  8:49   ` Dandamudi, Priyanka
2025-04-07 19:01     ` Zbigniew Kempczyński
2025-04-08 12:12       ` Kamil Konieczny
2025-04-09  8:47     ` Dandamudi, Priyanka
2025-04-04 12:31 ` [PATCH i-g-t v2 5/5] tests/xe_compute_preempt: consume all ram for wmtp Zbigniew Kempczyński
2025-04-04 14:34 ` ✓ Xe.CI.BAT: success for Replace loop in WMTP tests (rev2) Patchwork
2025-04-04 14:55 ` ✓ i915.CI.BAT: " Patchwork
2025-04-04 17:35 ` ✗ i915.CI.Full: failure " Patchwork

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox