[PATCH i-g-t 0/2] Add VF detection and skip devcoredump checks on VFs

Marcin Bernatowicz marcin.bernatowicz at linux.intel.com
Wed Feb 19 11:53:12 UTC 2025


This series introduces a helper function to detect whether a device is a
Virtual Function (VF) and updates the xe_exec_capture test to skip
devcoredump validation steps that are not applicable for VF devices.

The first patch adds intel_is_vf_device(), which reads the
VF_CAPABILITY_REGISTER to determine if a device is a VF.
The second patch integrates this check into xe_exec_capture,
ensuring that certain devcoredump checks are skipped on VFs.

These changes align with kernel updates introduced in:
Link: https://patchwork.freedesktop.org/patch/msgid/20241022010116.342240-2-zhanjun.dong@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: Michał Wajdeczko <michal.wajdeczko at intel.com>
Cc: Michał Winiarski <michal.winiarski at intel.com>
Cc: Piotr Piórkowski <piotr.piorkowski at intel.com>
Cc: Satyanarayana K V P <satyanarayana.k.v.p at intel.com>
Cc: Tomasz Lis <tomasz.lis at intel.com>
Cc: Zhanjun Dong <zhanjun.dong at intel.com>

Marcin Bernatowicz (2):
  lib/igt_sriov_device: Add intel_is_vf_device helper
  tests/xe_exec_capture: Skip checks on VF devices

 lib/igt_sriov_device.c        | 26 +++++++++++++++++++++++++
 lib/igt_sriov_device.h        |  1 +
 tests/intel/xe_exec_capture.c | 36 ++++++++++++++++++++++-------------
 3 files changed, 50 insertions(+), 13 deletions(-)

-- 
2.31.1



More information about the igt-dev mailing list