Skip to content

xe_sriov_flr: Skip non-MAIN GTs when reading provisioning data

Marcin Bernatowicz igt-dev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2lib/xe/xe_query: Add xe_gt_type() and xe_is_main_gt() helperslib/xe/xe_query.c lib/xe/xe_query.h+33 -91 reply
2/2tests/intel/xe_sriov_flr: Skip non-MAIN GTs when reading provisioning datatests/intel/xe_sriov_flr.c+6 -21 reply

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchKamil Konieczny
1/2R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

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

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.

Cc Adam Miszczak <[email protected]>
Cc Jakub Kolakowski <[email protected]>
Cc Lukasz Laguna <[email protected]>
Cc Michal Wajdeczko <[email protected]>
Cc Satyanarayana K V P <[email protected]>

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(-)
Signature · 1 line
2.31.1