summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/i915/display/intel_display_debugfs.c
diff options
context:
space:
mode:
authorVille Syrjälä <ville.syrjala@linux.intel.com>2023-01-31 02:21:27 +0200
committerVille Syrjälä <ville.syrjala@linux.intel.com>2023-02-01 22:07:27 +0200
commit14f25bd0bb938af7359433db4ef9495aad4cf703 (patch)
tree7742b105ef0f40b1f1578c5901dfd0511c65ba37 /drivers/gpu/drm/i915/display/intel_display_debugfs.c
parent9541fd164bddde24eb575c5744b6a31a6f62213e (diff)
downloadlinux-14f25bd0bb938af7359433db4ef9495aad4cf703.tar.gz
linux-14f25bd0bb938af7359433db4ef9495aad4cf703.tar.bz2
linux-14f25bd0bb938af7359433db4ef9495aad4cf703.zip
drm/i915: Expose SAGV state via debugfs
Since SAGV is controlled via unidirectional pcode commands we have no way to query the current state. So instead let's expose the last programmed state via debugfs. This way we can at least know whether SAGV should be enabled or not (which can be important to know when dealing with underruns/etc.). Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20230131002127.29305-4-ville.syrjala@linux.intel.com Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Diffstat (limited to 'drivers/gpu/drm/i915/display/intel_display_debugfs.c')
-rw-r--r--drivers/gpu/drm/i915/display/intel_display_debugfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/display/intel_display_debugfs.c b/drivers/gpu/drm/i915/display/intel_display_debugfs.c
index 7bcd90384a46..9e2fb8626c96 100644
--- a/drivers/gpu/drm/i915/display/intel_display_debugfs.c
+++ b/drivers/gpu/drm/i915/display/intel_display_debugfs.c
@@ -1622,7 +1622,7 @@ void intel_display_debugfs_register(struct drm_i915_private *i915)
intel_dmc_debugfs_register(i915);
intel_fbc_debugfs_register(i915);
intel_hpd_debugfs_register(i915);
- skl_watermark_ipc_debugfs_register(i915);
+ skl_watermark_debugfs_register(i915);
}
static int i915_panel_show(struct seq_file *m, void *data)