Skip to content

Some debugfs refactoring and improvements

Andi Shyti dri-devel intel-gfx 3 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest2 patches 0 repliesNew
  2. v22 patches 6 repliesSuperseded
  3. v11 patch 0 repliesSuperseded

Changes in v3 from the cover letter

- Some code improvement suggested by Nirmoy in patch 2.
- To avoid confusion GT's have been called tiles.

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2drm/i915/gt: Create per-gt debugfs filesdrivers/gpu/drm/i915/gt/intel_gt_debugfs.c drivers/gpu/drm/i915/gt/uc/intel_guc.h drivers/gpu/drm/i915/gt/uc/intel_guc_log.c +1 more+11 -20 replies
1/2drm/i915/gt: Create per-tile debugfs filesdrivers/gpu/drm/i915/gt/intel_gt_debugfs.c drivers/gpu/drm/i915/gt/uc/intel_guc.h drivers/gpu/drm/i915/gt/uc/intel_guc_log.c +1 more+11 -20 replies
2/2drm/i915/debugfs: Enable upper layer interfaces to act on all gt'sdrivers/gpu/drm/i915/i915_debugfs.c+32 -40 replies

Reviews trailers per patch

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

PatchRadhakrishna SripadaNirmoy Das
1/2R-b R-b
1/2R-b R-b
2/2R-b

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

Read the v3 thread

Cover letter [PATCH v3 0/2] Some debugfs refactoring and improvements

Hi,

These two patches aim to enhance the multi-GT capabilities of the debugfs.

The first patch reorganizes the file structure, while the second patch extends the functionality of the original files in the upper directories to operate on all tiles with a single write, providing an or'ed value among them in the read case.

Thanks Radhakrishna and Nirmoy for your reviews.

Andi

Changelog
=========
v2 -> v3
- Some code improvement suggested by Nirmoy in patch 2.
- To avoid confusion GT's have been called tiles.

v1 -> v2
- Add patch 2 for multiplexing.
- Improve commit log in patch 1.

Andi Shyti (2):
drm/i915/gt: Create per-gt debugfs files drm/i915/debugfs: Enable upper layer interfaces to act on all gt's

 drivers/gpu/drm/i915/gt/intel_gt_debugfs.c    |  4 ++-
 drivers/gpu/drm/i915/gt/uc/intel_guc.h        |  2 ++
 drivers/gpu/drm/i915/gt/uc/intel_guc_log.c    |  5 ++-
 drivers/gpu/drm/i915/gt/uc/intel_uc_debugfs.c |  2 ++
 drivers/gpu/drm/i915/i915_debugfs.c           | 36 ++++++++++++++++---
 5 files changed, 43 insertions(+), 6 deletions(-)
Signature · 1 line
2.39.2