drm/i915/debugfs: move debug printing to intel_display_power.c
authorJani Nikula <jani.nikula@intel.com>
Tue, 16 Nov 2021 17:14:32 +0000 (19:14 +0200)
committerJani Nikula <jani.nikula@intel.com>
Fri, 19 Nov 2021 13:12:05 +0000 (15:12 +0200)
commit6abf2fc0072b020cdbb9124ea935603b02502e6c
tree2b05e596f3a65f8f4bcb45e498b815c4afb55924
parent497520ca1915a91188560a26c2dceb9b9c43db4e
drm/i915/debugfs: move debug printing to intel_display_power.c

The debugfs should have no special privileges to look into the
implementation guts. Move the actual debug printing of power domains to
intel_display_power.c.

Cc: Imre Deak <imre.deak@intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Reviewed-by: Imre Deak <imre.deak@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20211116171434.20516-3-jani.nikula@intel.com
drivers/gpu/drm/i915/display/intel_display_debugfs.c
drivers/gpu/drm/i915/display/intel_display_power.c
drivers/gpu/drm/i915/display/intel_display_power.h