drm/i915/ips: Make IPS debugfs per-crtc
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 27 Mar 2023 13:39:41 +0000 (16:39 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 28 Mar 2023 07:54:08 +0000 (10:54 +0300)
commit1fb4da5f7858d78570a9f726e98f96797447b32e
tree751f6aac7e4f714e87871a41b20be47b0b4ef19e
parentfd6435ea32d9243d116dbf50e7f1a8b33e01262b
drm/i915/ips: Make IPS debugfs per-crtc

IPS is a per-pipe feature, so let's move the debugfs stuff
under the crtc directory, and only register it when IPS
is actually available.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230327133942.22063-1-ville.syrjala@linux.intel.com
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/i915/display/hsw_ips.c
drivers/gpu/drm/i915/display/hsw_ips.h
drivers/gpu/drm/i915/display/intel_display_debugfs.c