Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH i-g-t 0/2] tests/xe_drm_fdinfo: Check prerequisites for utilization tests
@ 2025-03-04 18:56 Marcin Bernatowicz
  2025-03-04 18:56 ` [PATCH i-g-t 1/2] tests/intel/xe_drm_fdinfo: Group utilization tests and skip when no utilization data Marcin Bernatowicz
                   ` (5 more replies)
  0 siblings, 6 replies; 14+ messages in thread
From: Marcin Bernatowicz @ 2025-03-04 18:56 UTC (permalink / raw)
  To: igt-dev
  Cc: Marcin Bernatowicz, Jakub Kolakowski, Lucas De Marchi,
	Lukasz Laguna, Umesh Nerlige Ramappa

The first patch groups all utilization-related subtests under an
igt_subtest_group and adds a fixture to check for utilization data
availability before running them.

The second patch replaces igt_require with igt_assert in
basic_engine_utilization ensuring the test fails explicitly
when utilization data is missing.

Cc: Jakub Kolakowski <jakub1.kolakowski@intel.com>
Cc: Lucas De Marchi <lucas.demarchi@intel.com>
Cc: Lukasz Laguna <lukasz.laguna@intel.com>
Cc: Umesh Nerlige Ramappa <umesh.nerlige.ramappa@intel.com>

Marcin Bernatowicz (2):
  tests/intel/xe_drm_fdinfo: Group utilization tests and skip when no
    utilization data
  tests/intel/xe_drm_fdinfo: Fail basic_engine_utilization if no
    utilization data

 tests/intel/xe_drm_fdinfo.c | 124 ++++++++++++++++++++----------------
 1 file changed, 68 insertions(+), 56 deletions(-)

-- 
2.31.1


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

end of thread, other threads:[~2025-03-13 11:37 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-03-04 18:56 [PATCH i-g-t 0/2] tests/xe_drm_fdinfo: Check prerequisites for utilization tests Marcin Bernatowicz
2025-03-04 18:56 ` [PATCH i-g-t 1/2] tests/intel/xe_drm_fdinfo: Group utilization tests and skip when no utilization data Marcin Bernatowicz
2025-03-05 12:15   ` Kamil Konieczny
2025-03-05 16:31     ` Bernatowicz, Marcin
2025-03-06 10:56       ` Kamil Konieczny
2025-03-05 17:08   ` Lucas De Marchi
2025-03-06  9:19     ` Bernatowicz, Marcin
2025-03-13  4:19       ` Lucas De Marchi
2025-03-13 11:37         ` Zbigniew Kempczyński
2025-03-04 18:56 ` [PATCH i-g-t 2/2] tests/intel/xe_drm_fdinfo: Fail basic_engine_utilization if " Marcin Bernatowicz
2025-03-05  8:05 ` ✓ Xe.CI.BAT: success for tests/xe_drm_fdinfo: Check prerequisites for utilization tests (rev2) Patchwork
2025-03-05  8:35 ` ✓ i915.CI.BAT: " Patchwork
2025-03-05  9:02 ` ✗ Xe.CI.Full: failure " Patchwork
2025-03-05 12:34 ` ✗ i915.CI.Full: " Patchwork

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