Skip to content

Improve engine activity accuracy test with spinner reuse

Soham Purkait igt-dev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3lib/xe/xe_spin: Introduce xe_spin_resetlib/xe/xe_spin.c lib/xe/xe_spin.h+29 -02 replies
2/3lib/xe/xe_spin: Export xe_spin_sync_waitlib/xe/xe_spin.c lib/xe/xe_spin.h+2 -11 reply
3/3tests/intel/xe_pmu: Refine engine activity accuracy testtests/intel/xe_pmu.c+8 -32 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH i-g-t 0/3] Improve engine activity accuracy test with spinner reuse

This series improves engine activity accuracy test by creating the spinner only once and reusing it across iterations through a new helper, xe_spin_reset, which resets the spinner state without reallocation. Additionally, xe_spin_sync_wait has been made non-static and exported to support this reuse mechanism.

Soham Purkait (3):
lib/xe/xe_spin: Introduce xe_spin_reset lib/xe/xe_spin: Export xe_spin_sync_wait tests/intel/xe_pmu: Refine engine activity accuracy test

 lib/xe/xe_spin.c     | 30 +++++++++++++++++++++++++++++-
 lib/xe/xe_spin.h     |  2 ++
 tests/intel/xe_pmu.c | 11 ++++++++---
 3 files changed, 39 insertions(+), 4 deletions(-)
Signature · 1 line
2.34.1