[PATCH i-g-t 0/2] tests/xe_drm_fdinfo: Check prerequisites for utilization tests

Marcin Bernatowicz marcin.bernatowicz at linux.intel.com
Tue Mar 4 18:56:38 UTC 2025


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 at intel.com>
Cc: Lucas De Marchi <lucas.demarchi at intel.com>
Cc: Lukasz Laguna <lukasz.laguna at intel.com>
Cc: Umesh Nerlige Ramappa <umesh.nerlige.ramappa at 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



More information about the igt-dev mailing list