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

Andi Shyti andi.shyti at linux.intel.com
Sat Mar 18 20:36:13 UTC 2023


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(-)

-- 
2.39.2



More information about the dri-devel mailing list