Skip to content

Simplify compute preemption tests

Zbigniew Kempczyński igt-dev 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest4 patches 5 repliesIn review
  2. v12 patches 1 replySuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4lib/intel_compute: move user-fence to allow async exec calllib/intel_compute.c+52 -251 reply
2/4lib/intel_compute: simplify compute-preempt subtestslib/intel_compute.c+41 -1111 reply
3/4lib/intel_compute: calculate array size at compile timelib/intel_compute.c+28 -281 reply
4/4lib/intel_compute: refactor to remove code duplicationlib/intel_compute.c+40 -701 reply

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by.

PatchFrancois Dugast
1/4R-b
2/4R-b
3/4R-b
4/4R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH i-g-t v2 0/4] Simplify compute preemption tests

I planned to rewrite threadgroup preemption test to use similar to wmtp pattern, but at the moment I haven't succeeded. To make my further work on this easier I simplified the code and logic of verification wmtp or threadgroup preemption occurred. So threadgroup preemption still rely on increment loop shader which is executed on large x-dimension. I hope I'll find a way to rewrite it to use wmtp pattern where I release part of threads triggering preemption when threadgroup will end with EOT.

v2: use ARRAY_SIZE() and simplify input/output data assignment

Cc Zbigniew Kempczyński <[email protected]>
Cc Francois Dugast <[email protected]>

Zbigniew Kempczyński (4):
lib/intel_compute: move user-fence to allow async exec call lib/intel_compute: simplify compute-preempt subtests lib/intel_compute: calculate array size at compile time lib/intel_compute: refactor to remove code duplication

 lib/intel_compute.c | 395 ++++++++++++++++++--------------------------
 1 file changed, 161 insertions(+), 234 deletions(-)
Signature · 1 line
2.43.0