Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [igt-dev] [PATCH i-g-t 0/2] lib/xe_spin: introduced xe_spin_opts; fixed duration xe_spin
@ 2023-08-04 10:24 Marcin Bernatowicz
  2023-08-04 10:24 ` [igt-dev] [PATCH i-g-t 1/2] " Marcin Bernatowicz
                   ` (4 more replies)
  0 siblings, 5 replies; 12+ messages in thread
From: Marcin Bernatowicz @ 2023-08-04 10:24 UTC (permalink / raw)
  To: igt-dev; +Cc: mauro.chehab

Introduced struct xe_spin_opts for xe_spin initialization,
adjusted tests to new xe_spin_init signature.

Extended spinner with fixed duration capability. It allows
to prepare fixed duration (ex. 10ms) workloads and take workloads/second
measurements, a handy utility for scheduling tests.

Basic test for xe_spin with fixed duration.

Marcin Bernatowicz (2):
  lib/xe_spin: introduced xe_spin_opts; fixed duration xe_spin
  tests/xe_spin_batch: spin-fixed-duration

 lib/xe/xe_spin.c            | 121 ++++++++++++++++++++++++++++++------
 lib/xe/xe_spin.h            |  23 ++++++-
 tests/xe/xe_dma_buf_sync.c  |   6 +-
 tests/xe/xe_exec_balancer.c |   9 ++-
 tests/xe/xe_exec_reset.c    |  24 ++++---
 tests/xe/xe_exec_threads.c  |   7 ++-
 tests/xe/xe_spin_batch.c    |  59 ++++++++++++++++++
 tests/xe/xe_vm.c            |   9 +--
 8 files changed, 213 insertions(+), 45 deletions(-)

-- 
2.30.2

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

end of thread, other threads:[~2023-08-09 11:23 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-04 10:24 [igt-dev] [PATCH i-g-t 0/2] lib/xe_spin: introduced xe_spin_opts; fixed duration xe_spin Marcin Bernatowicz
2023-08-04 10:24 ` [igt-dev] [PATCH i-g-t 1/2] " Marcin Bernatowicz
2023-08-07  6:54   ` Zbigniew Kempczyński
2023-08-07 13:38     ` Bernatowicz, Marcin
2023-08-07 14:10   ` Kamil Konieczny
2023-08-04 10:24 ` [igt-dev] [PATCH i-g-t 2/2] tests/xe_spin_batch: spin-fixed-duration Marcin Bernatowicz
2023-08-07  6:56   ` Zbigniew Kempczyński
2023-08-07 14:13     ` Bernatowicz, Marcin
2023-08-09 11:23       ` Zbigniew Kempczyński
2023-08-04 13:41 ` [igt-dev] ✓ Fi.CI.BAT: success for lib/xe_spin: introduced xe_spin_opts; fixed duration xe_spin Patchwork
2023-08-04 14:13 ` [igt-dev] ○ CI.xeBAT: info " Patchwork
2023-08-04 20:13 ` [igt-dev] ✗ Fi.CI.IGT: failure " Patchwork

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