Skip to content

Add type-specific GT loop iterator

Matt Roper intel-xe 1 version In review

Get series with b4
b4 am [email protected] change-id 20260305-gt-type-loops-e8e4bc4dd19e

Versions newest first

  1. v1 Latest2 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2drm/xe: Add for_each_gt_with_type() iteratordrivers/gpu/drm/xe/xe_device.h+4 -01 reply
2/2drm/xe: Utilize for_each_gt_with_type() for type-specific GT loopsdrivers/gpu/drm/xe/xe_device.c drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c+2 -81 reply

Reviews trailers per patch

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

PatchRodrigo Vivi
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 0/2] Add type-specific GT loop iterator

Although we don't have too many GT loops in the driver today that are restricted to a specific GT type, we expect more to show up in some upcoming work. Add a new iterator macro to make this slightly simpler and convert the existing type-specific loops over to use it.

---
Matt Roper (2):
drm/xe: Add for_each_gt_with_type() iterator
drm/xe: Utilize for_each_gt_with_type() for type-specific GT loops

 drivers/gpu/drm/xe/xe_device.c             | 5 +----
 drivers/gpu/drm/xe/xe_device.h             | 4 ++++
 drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c | 5 +----
 3 files changed, 6 insertions(+), 8 deletions(-)

---
base-commit: ce63d46cc8fc3bb754efb93026b55acaa616cfa2
change-id: 20260305-gt-type-loops-e8e4bc4dd19e

Best regards,

Signature · 4 lines
Matt Roper
Graphics Software Engineer
Linux GPU Platform Enablement
Intel Corporation