[Intel-gfx] [PATCH v2 0/2] Some debugfs enhancements

Andi Shyti andi at etezian.org
Thu Dec 12 22:01:19 UTC 2019


From: Andi Shyti <andi.shyti at intel.com>

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,
Andi

Changelog:
==========
v1-v2:
 - 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
(Thanks Chris!)

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/debugfs_gt.c     |  19 +
 drivers/gpu/drm/i915/gt/debugfs_gt.h     |  13 +
 drivers/gpu/drm/i915/gt/debugfs_pm.c     | 593 ++++++++++++++++++++++
 drivers/gpu/drm/i915/gt/debugfs_pm.h     |  16 +
 drivers/gpu/drm/i915/gt/intel_gt_types.h |   3 +
 drivers/gpu/drm/i915/gt/intel_rps.c      |  22 +
 drivers/gpu/drm/i915/gt/intel_rps.h      |   2 +
 drivers/gpu/drm/i915/i915_debugfs.c      | 596 +----------------------
 drivers/gpu/drm/i915/i915_debugfs.h      |   9 +
 drivers/gpu/drm/i915/i915_sysfs.c        |  14 +-
 11 files changed, 690 insertions(+), 599 deletions(-)
 create mode 100644 drivers/gpu/drm/i915/gt/debugfs_gt.c
 create mode 100644 drivers/gpu/drm/i915/gt/debugfs_gt.h
 create mode 100644 drivers/gpu/drm/i915/gt/debugfs_pm.c
 create mode 100644 drivers/gpu/drm/i915/gt/debugfs_pm.h

-- 
2.24.0



More information about the Intel-gfx mailing list