Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v9 0/1] drm/xe: Add helper macro to loop each dss
@ 2024-02-09 17:45 Zhanjun Dong
  2024-02-09 17:45 ` [PATCH v9 1/1] " Zhanjun Dong
                   ` (10 more replies)
  0 siblings, 11 replies; 16+ messages in thread
From: Zhanjun Dong @ 2024-02-09 17:45 UTC (permalink / raw)
  To: intel-xe
  Cc: Zhanjun Dong, Alan Previn, Matt Roper, Stuart Summers, Jose Souza

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.

Signed-off-by: Zhanjun Dong <zhanjun.dong@intel.com>
Cc: Alan Previn <alan.previn.teres.alexis@intel.com>
Cc: Matt Roper <matthew.d.roper@intel.com>
Cc: Stuart Summers <stuart.summers@intel.com>
Cc: Jose Souza <jose.souza@intel.com>

Reviewed-by: Alan Previn <alan.previn.teres.alexis@intel.com>

Changes from prior revs:
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      | 32 ++++++++++++++++++++++++++++-
 drivers/gpu/drm/xe/xe_gt_mcr.h      | 13 ++++++++++++
 drivers/gpu/drm/xe/xe_gt_topology.c | 31 +++++++++++++++++++++++++---
 drivers/gpu/drm/xe/xe_gt_topology.h |  1 +
 drivers/gpu/drm/xe/xe_gt_types.h    |  2 ++
 5 files changed, 75 insertions(+), 4 deletions(-)

-- 
2.34.1


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

end of thread, other threads:[~2024-02-15 22:20 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-02-09 17:45 [PATCH v9 0/1] drm/xe: Add helper macro to loop each dss Zhanjun Dong
2024-02-09 17:45 ` [PATCH v9 1/1] " Zhanjun Dong
2024-02-13 18:01   ` Teres Alexis, Alan Previn
2024-02-15 19:20   ` Michal Wajdeczko
2024-02-15 21:33     ` Dong, Zhanjun
2024-02-15 22:20       ` Michal Wajdeczko
2024-02-09 17:48 ` ✓ CI.Patch_applied: success for " Patchwork
2024-02-09 17:49 ` ✗ CI.checkpatch: warning " Patchwork
2024-02-09 17:50 ` ✗ CI.KUnit: failure " Patchwork
2024-02-12 22:22 ` ✓ CI.Patch_applied: success for drm/xe: Add helper macro to loop each dss (rev2) Patchwork
2024-02-12 22:22 ` ✗ CI.checkpatch: warning " Patchwork
2024-02-12 22:23 ` ✓ CI.KUnit: success " Patchwork
2024-02-12 22:34 ` ✓ CI.Build: " Patchwork
2024-02-12 22:34 ` ✓ CI.Hooks: " Patchwork
2024-02-12 22:36 ` ✓ CI.checksparse: " Patchwork
2024-02-12 23:12 ` ✓ CI.BAT: " Patchwork

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