Skip to content

drm/xe: Add helper macro to loop each DSS

Zhanjun Dong intel-xe 6 versions – Applied

Status from this message: Applied to drm-xe-next. Thanks for the patch and review.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v12 Latest1 patch 1 replyApplied
  2. v111 patch 1 replySuperseded
  3. v101 patch 2 repliesSuperseded
Earlier versions · 3
VersionPostedPatchesRepliesStatus
v91 patch4 repliesSuperseded
v81 patch1 replySuperseded
v61 patch1 replySuperseded

Patches in v12 Applied

#Subject and filesSizeRepliesApplied
1/1drm/xe: Add helper macro to loop each DSSdrivers/gpu/drm/xe/xe_gt_mcr.c drivers/gpu/drm/xe/xe_gt_mcr.h drivers/gpu/drm/xe/xe_gt_topology.c +2 more+57 -110 replies

Reviews trailers per patch

The patch has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchMichal Wajdeczko
SeriesR-b
1/1R-b

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

Read the v12 thread

Cover letter [PATCH v12 0/1] drm/xe: Add helper macro to loop each DSS

Add helper macro to loop each DSS. This is a precursor patch to allow for easier iteration through MCR registers and other per-DSS uses.

Cc Alan Previn <[email protected]>
Cc Matt Roper <[email protected]>
Cc Stuart Summers <[email protected]>
Cc Jose Souza <[email protected]>

Changes from prior revs:
v12:Move for_each_dss to xe_gt_topology.h
v11:Optimized for_each_dss_steering macro and removed xe_gt_topology_get_next_dss. v10:Change macro pointer type for uint to u16.
Fix macro parameter typo. Updated function kerneldoc text.
v9: Updated function kerneldoc text.
v8: Chang range check to assertion. Add function kerneldoc
v7: Updated commit message
v6: Optimized for_each_dss_steering macro
v5: Reduced 2 checkpatch warnings
v4: Revert function name with mcr back
v3: Rename functions with mcr removed
v2: Resend with cover letter

Zhanjun Dong (1):
drm/xe: Add helper macro to loop each DSS

 drivers/gpu/drm/xe/xe_gt_mcr.c      | 34 ++++++++++++++++++++++++-----
 drivers/gpu/drm/xe/xe_gt_mcr.h      | 14 ++++++++++++
 drivers/gpu/drm/xe/xe_gt_topology.c |  3 ---
 drivers/gpu/drm/xe/xe_gt_topology.h | 11 ++++++++++
 drivers/gpu/drm/xe/xe_gt_types.h    |  6 +++--
 5 files changed, 57 insertions(+), 11 deletions(-)
Signature · 1 line
2.34.1