diff options
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2022-03-11 18:24:22 +0100 |
---|---|---|
committer | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2022-03-14 23:15:15 +0100 |
commit | a1b952d4d0a4c2df46f8982d89377e752576c7fa (patch) | |
tree | ea1e28e4e8a0d09240e5c57f58f213ec0a1ded7f /drivers/gpu/drm/i915/display/intel_drrs.h | |
parent | drm/i915: Introduce intel_panel_drrs_type() (diff) | |
download | linux-a1b952d4d0a4c2df46f8982d89377e752576c7fa.tar.xz linux-a1b952d4d0a4c2df46f8982d89377e752576c7fa.zip |
drm/i915: Introduce intel_drrs_type_str()
Add helper to get the drrs type as a string, and use it
in a couple of places. Also pimp the debugfs output a bit
while at it.
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220311172428.14685-11-ville.syrjala@linux.intel.com
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Diffstat (limited to 'drivers/gpu/drm/i915/display/intel_drrs.h')
-rw-r--r-- | drivers/gpu/drm/i915/display/intel_drrs.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/display/intel_drrs.h b/drivers/gpu/drm/i915/display/intel_drrs.h index 6bca7692f59f..d3dff44dc3b1 100644 --- a/drivers/gpu/drm/i915/display/intel_drrs.h +++ b/drivers/gpu/drm/i915/display/intel_drrs.h @@ -8,6 +8,7 @@ #include <linux/types.h> +enum drrs_type; struct drm_i915_private; struct intel_atomic_state; struct intel_crtc; @@ -15,6 +16,7 @@ struct intel_crtc_state; struct intel_connector; struct intel_dp; +const char *intel_drrs_type_str(enum drrs_type drrs_type); void intel_drrs_enable(struct intel_dp *intel_dp, const struct intel_crtc_state *crtc_state); void intel_drrs_disable(struct intel_dp *intel_dp, |