summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/display/hsw_ips.h
diff options
context:
space:
mode:
authorVille Syrjälä <ville.syrjala@linux.intel.com>2022-02-09 13:35:24 +0200
committerVille Syrjälä <ville.syrjala@linux.intel.com>2022-02-09 21:51:56 +0200
commit28f5f8884e7cb9cff5375db487a8ca7cd3fd599f (patch)
treec042d4bdc571d8ddc57c0903d83d91bc8216b057 /drivers/gpu/drm/i915/display/hsw_ips.h
parentf3b603de2ff41eb915d75163f7212bbf177950d1 (diff)
downloadlinux-28f5f8884e7cb9cff5375db487a8ca7cd3fd599f.tar.gz
linux-28f5f8884e7cb9cff5375db487a8ca7cd3fd599f.tar.bz2
linux-28f5f8884e7cb9cff5375db487a8ca7cd3fd599f.zip
drm/i915: Extract hsw_ips_get_config()
Pull the IPS state readout into hsw_ips.c. Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20220209113526.7595-5-ville.syrjala@linux.intel.com Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Diffstat (limited to 'drivers/gpu/drm/i915/display/hsw_ips.h')
-rw-r--r--drivers/gpu/drm/i915/display/hsw_ips.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/display/hsw_ips.h b/drivers/gpu/drm/i915/display/hsw_ips.h
index d63bdef5100a..4564dee497d7 100644
--- a/drivers/gpu/drm/i915/display/hsw_ips.h
+++ b/drivers/gpu/drm/i915/display/hsw_ips.h
@@ -21,5 +21,6 @@ bool hsw_crtc_supports_ips(struct intel_crtc *crtc);
bool hsw_crtc_state_ips_capable(const struct intel_crtc_state *crtc_state);
int hsw_ips_compute_config(struct intel_atomic_state *state,
struct intel_crtc *crtc);
+void hsw_ips_get_config(struct intel_crtc_state *crtc_state);
#endif /* __HSW_IPS_H__ */