summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/display/intel_display_power.h
diff options
context:
space:
mode:
authorJani Nikula <jani.nikula@intel.com>2021-11-16 18:14:32 +0100
committerJani Nikula <jani.nikula@intel.com>2021-11-19 14:12:05 +0100
commit6abf2fc0072b020cdbb9124ea935603b02502e6c (patch)
tree2b05e596f3a65f8f4bcb45e498b815c4afb55924 /drivers/gpu/drm/i915/display/intel_display_power.h
parentdrm/i915: drop intel_display.h include from intel_dpll_mgr.h (diff)
downloadlinux-6abf2fc0072b020cdbb9124ea935603b02502e6c.tar.xz
linux-6abf2fc0072b020cdbb9124ea935603b02502e6c.zip
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
Diffstat (limited to 'drivers/gpu/drm/i915/display/intel_display_power.h')
-rw-r--r--drivers/gpu/drm/i915/display/intel_display_power.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/display/intel_display_power.h b/drivers/gpu/drm/i915/display/intel_display_power.h
index d54b7574ed37..b28cc1f94576 100644
--- a/drivers/gpu/drm/i915/display/intel_display_power.h
+++ b/drivers/gpu/drm/i915/display/intel_display_power.h
@@ -391,6 +391,8 @@ intel_display_power_put_all_in_set(struct drm_i915_private *i915,
intel_display_power_put_mask_in_set(i915, power_domain_set, power_domain_set->mask);
}
+void intel_display_power_debug(struct drm_i915_private *i915, struct seq_file *m);
+
/*
* FIXME: We should probably switch this to a 0-based scheme to be consistent
* with how we now name/number DBUF_CTL instances.