summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorYakir Yang <ykk@rock-chips.com>2016-07-24 06:57:48 (GMT)
committerSean Paul <seanpaul@chromium.org>2016-08-23 15:44:33 (GMT)
commit5b3f84f222b6bb955c5a473ddff707e252be71b4 (patch)
tree54d6426c9f962df80865874b58626860efe23e87 /include
parent5182c1a556d7ff70e28516c4b9250a347b732af0 (diff)
downloadlinux-5b3f84f222b6bb955c5a473ddff707e252be71b4.tar.xz
drm/bridge: analogix_dp: add the PSR function support
The full name of PSR is Panel Self Refresh, panel device could refresh itself with the hardware framebuffer in panel, this would make lots of sense to save the power consumption. This patch have exported two symbols for platform driver to implement the PSR function in hardware side: - analogix_dp_active_psr() - analogix_dp_inactive_psr() Reviewed-by: Archit Taneja <architt@codeaurora.org> Signed-off-by: Yakir Yang <ykk@rock-chips.com> Signed-off-by: Sean Paul <seanpaul@chromium.org>
Diffstat (limited to 'include')
-rw-r--r--include/drm/bridge/analogix_dp.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/drm/bridge/analogix_dp.h b/include/drm/bridge/analogix_dp.h
index 261b86d..9cd8838 100644
--- a/include/drm/bridge/analogix_dp.h
+++ b/include/drm/bridge/analogix_dp.h
@@ -38,6 +38,9 @@ struct analogix_dp_plat_data {
struct drm_connector *);
};
+int analogix_dp_enable_psr(struct device *dev);
+int analogix_dp_disable_psr(struct device *dev);
+
int analogix_dp_resume(struct device *dev);
int analogix_dp_suspend(struct device *dev);