drm/i915/ipc: move IPC debugfs to skl_watermark.c
authorJani Nikula <jani.nikula@intel.com>
Mon, 12 Sep 2022 11:45:13 +0000 (14:45 +0300)
committerJani Nikula <jani.nikula@intel.com>
Tue, 13 Sep 2022 16:55:01 +0000 (19:55 +0300)
commitdde01ed5b07808be13d4469f90e578ff83774c25
tree1936c075bd67b05e18f4b261344c2c1a03e3bd2b
parent23fbdb07d6a729dd6a1df8e0cdd5772a5935c053
drm/i915/ipc: move IPC debugfs to skl_watermark.c

Follow the new direction for debugfs files, moving the details where the
implementation is. It seems quite natural skl_watermark.c is the place
that controls IPC details, even for debugfs, not
intel_display_debugfs.c.

Rename the functions and convert dev_priv->i915 while at it.

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