Skip to content

Some debugfs enhancements

Andi Shyti intel-gfx 5 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v32 patches 4 repliesIn review
  2. v42 patches 3 repliesIn review
  3. v5 Latest2 patches 3 repliesIn review
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v22 patches1 replySuperseded
v12 patches3 repliesSuperseded

Changelog from the cover letter

Patches in v5 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2drm/i915/rps: Add frequency translation helpersdrivers/gpu/drm/i915/gt/intel_rps.c drivers/gpu/drm/i915/gt/intel_rps.h drivers/gpu/drm/i915/i915_debugfs.c +1 more+39 -280 replies
2/2drm/i915/gt: Move power management debug files into a gt aware debugfsdrivers/gpu/drm/i915/Makefile drivers/gpu/drm/i915/gt/intel_debugfs_gt.c drivers/gpu/drm/i915/gt/intel_debugfs_gt.h +3 more+700 -5703 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchChris Wilson
1/2R-b
2/2

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

Read the v5 thread

Cover letter [Intel-gfx] [PATCH v5 0/2] Some debugfs enhancements

From: Andi Shyti <[email protected]>

Hi,

this two patches are few debugfs improvements. The first adds some helpers for reading the GT frequency, while the second patch moves all the power management debufs functions into gt/

Thanks Chris and Michal for the reviews.

Thanks,
Andi

Changelog:
==========
v4-v5: (v4: https://lists.freedesktop.org/archives/intel-gfx/2019-December/223431.html)
- renamed files:

        renamed:    drivers/gpu/drm/i915/gt/debugfs_gt.c -> drivers/gpu/drm/i915/gt/intel_debugfs_gt.c
        renamed:    drivers/gpu/drm/i915/gt/debugfs_gt.h -> drivers/gpu/drm/i915/gt/intel_debugfs_gt.h
        renamed:    drivers/gpu/drm/i915/gt/debugfs_pm.c -> drivers/gpu/drm/i915/gt/intel_debugfs_pm.c
        renamed:    drivers/gpu/drm/i915/gt/debugfs_pm.h -> drivers/gpu/drm/i915/gt/intel_debugfs_pm.h

- change the spdx identifier's comment from the /* */ to the // style.

v3-v4: (v3: https://lists.freedesktop.org/archives/intel-gfx/2019-December/223368.html)
- added wakeref in frequency reading (patch 1)
- added Chris reviewed-by in patch 1
- sorted in alphabetical order the debugfs functions
- removed dentry reference in the gt structure, because it's useless.

v2-v3: (v2: https://lists.freedesktop.org/archives/intel-gfx/2019-December/223277.html)
Fixed the three reviews from Chris
- removed the 'i915' prefix from the gt pm debugfs files
- fixed my laziness and made the debugfs pm files more gt
oriented. Now the only dependency remaining from the 'drm_i915_private' structure is for platform generation check.
- restored the 'node_to_i915' to its original position, as it's
not needed anymore.

v1-v2: (v1: https://lists.freedesktop.org/archives/intel-gfx/2019-December/222758.html)
- renamed functions from
intel_cagf_freq_read to intel_rps_read_actual_frequency intel_cagf_read to intel_rps_read_cagf
- created an independent gt/ directory in debugfs

Andi Shyti (2):
drm/i915/rps: Add frequency translation helpers drm/i915/gt: Move power management debug files into a gt aware debugfs

 drivers/gpu/drm/i915/Makefile              |   2 +
 drivers/gpu/drm/i915/gt/intel_debugfs_gt.c |  23 +
 drivers/gpu/drm/i915/gt/intel_debugfs_gt.h |  27 +
 drivers/gpu/drm/i915/gt/intel_debugfs_pm.c | 623 +++++++++++++++++++++
 drivers/gpu/drm/i915/gt/intel_debugfs_pm.h |  16 +
 drivers/gpu/drm/i915/gt/intel_rps.c        |  30 +
 drivers/gpu/drm/i915/gt/intel_rps.h        |   2 +
 drivers/gpu/drm/i915/i915_debugfs.c        | 590 +------------------
 drivers/gpu/drm/i915/i915_sysfs.c          |  14 +-
 9 files changed, 734 insertions(+), 593 deletions(-)
 create mode 100644 drivers/gpu/drm/i915/gt/intel_debugfs_gt.c
 create mode 100644 drivers/gpu/drm/i915/gt/intel_debugfs_gt.h
 create mode 100644 drivers/gpu/drm/i915/gt/intel_debugfs_pm.c
 create mode 100644 drivers/gpu/drm/i915/gt/intel_debugfs_pm.h
Signature · 6 lines
2.24.0

_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx