[PATCH i-g-t 0/2] xe_sriov_flr: Skip non-MAIN GTs when reading provisioning data

Marcin Bernatowicz marcin.bernatowicz at linux.intel.com
Fri Aug 29 10:40:35 UTC 2025


Provisioning information (GGTT and LMEM) is exposed only on MAIN GTs.
Non-MAIN GTs (e.g., MEDIA) do not provide this data, which previously
caused spurious skips in subtests.

This series:
 - adds a generic xe_gt_type() accessor 
   and a convenience xe_is_main_gt() helper,
 - updates xe_sriov_flr to restrict GGTT and LMEM
   provisioning checks to MAIN GTs.

Signed-off-by: Marcin Bernatowicz <marcin.bernatowicz at linux.intel.com>
Cc: Adam Miszczak <adam.miszczak at linux.intel.com>
Cc: Jakub Kolakowski <jakub1.kolakowski at intel.com>
Cc: Lukasz Laguna <lukasz.laguna at intel.com>
Cc: Michal Wajdeczko <michal.wajdeczko at intel.com>
Cc: Satyanarayana K V P <satyanarayana.k.v.p at intel.com>

Marcin Bernatowicz (2):
  lib/xe/xe_query: Add xe_gt_type() and xe_is_main_gt() helpers
  tests/intel/xe_sriov_flr: Skip non-MAIN GTs when reading provisioning
    data

 lib/xe/xe_query.c          | 40 +++++++++++++++++++++++++++++---------
 lib/xe/xe_query.h          |  2 ++
 tests/intel/xe_sriov_flr.c |  8 ++++++--
 3 files changed, 39 insertions(+), 11 deletions(-)

-- 
2.31.1



More information about the igt-dev mailing list