Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] Add type-specific GT loop iterator
@ 2026-03-05 22:59 Matt Roper
  2026-03-05 22:59 ` [PATCH 1/2] drm/xe: Add for_each_gt_with_type() iterator Matt Roper
                   ` (5 more replies)
  0 siblings, 6 replies; 10+ messages in thread
From: Matt Roper @ 2026-03-05 22:59 UTC (permalink / raw)
  To: intel-xe; +Cc: Farah Kassabri, Rodrigo Vivi, Gustavo Sousa, Matt Roper

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.

Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
---
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,
-- 
Matt Roper
Graphics Software Engineer
Linux GPU Platform Enablement
Intel Corporation


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2026-03-09 21:41 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-05 22:59 [PATCH 0/2] Add type-specific GT loop iterator Matt Roper
2026-03-05 22:59 ` [PATCH 1/2] drm/xe: Add for_each_gt_with_type() iterator Matt Roper
2026-03-06  0:49   ` Rodrigo Vivi
2026-03-05 22:59 ` [PATCH 2/2] drm/xe: Utilize for_each_gt_with_type() for type-specific GT loops Matt Roper
2026-03-06  0:49   ` Rodrigo Vivi
2026-03-06 17:11 ` ✗ CI.checkpatch: warning for Add type-specific GT loop iterator Patchwork
2026-03-06 17:12 ` ✓ CI.KUnit: success " Patchwork
2026-03-06 18:11 ` ✓ Xe.CI.BAT: " Patchwork
2026-03-07 19:57 ` ✗ Xe.CI.FULL: failure " Patchwork
2026-03-09 21:41   ` Matt Roper

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox