OSDN Git Service

drm/i915/gt: move remaining debugfs interfaces into gt
authorAndi Shyti <andi.shyti@linux.intel.com>
Tue, 12 Oct 2021 22:17:38 +0000 (00:17 +0200)
committerLucas De Marchi <lucas.demarchi@intel.com>
Fri, 15 Oct 2021 04:47:49 +0000 (21:47 -0700)
commit82a149a62b6b50ecd21b6e5e9cbdc8f6064a55d2
tree674810afe67e847c03ca1fc4b44b185535ea3c39
parentb0179f0d18dd7e6fb6b1c52c49ac21365257e97e
drm/i915/gt: move remaining debugfs interfaces into gt

The following interfaces:

  i915_wedged
  i915_forcewake_user

are dependent on gt values. Put them inside gt/ and drop the
"i915_" prefix name. This would be the new structure:

  dri/0/gt
  |
  +-- forcewake_user
  |
  \-- reset

For backwards compatibility with existing igt (and the slight
semantic difference between operating on the i915 abi entry
points and the deep gt info):

  dri/0
  |
  +-- i915_wedged
  |
  \-- i915_forcewake_user

remain at the top level.

Signed-off-by: Andi Shyti <andi.shyti@linux.intel.com>
Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Lucas De Marchi <lucas.demarchi@intel.com>
Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20211012221738.16029-1-andi@etezian.org
drivers/gpu/drm/i915/gt/intel_gt_debugfs.c
drivers/gpu/drm/i915/gt/intel_gt_debugfs.h
drivers/gpu/drm/i915/gt/intel_gt_pm_debugfs.c
drivers/gpu/drm/i915/gt/intel_gt_pm_debugfs.h
drivers/gpu/drm/i915/i915_debugfs.c