[PATCH v6 0/1] drm/xe: Expose number of dss per group and helpers

Zhanjun Dong zhanjun.dong at intel.com
Wed Jan 31 20:52:41 UTC 2024


Expose helper for dss per group. 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 at intel.com>
Cc: Matt Roper <matthew.d.roper at intel.com>
Cc: Stuart Summers <stuart.summers at intel.com>
Cc: Jose Souza <jose.souza at intel.com>

Changes from prior revs:
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: Expose number of dss per group and helpers

 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 | 17 ++++++++++++---
 drivers/gpu/drm/xe/xe_gt_topology.h |  1 +
 drivers/gpu/drm/xe/xe_gt_types.h    |  2 ++
 5 files changed, 64 insertions(+), 4 deletions(-)

-- 
2.34.1



More information about the Intel-xe mailing list