drm/bridge: analogix_dp: add the PSR function support
authorYakir Yang <ykk@rock-chips.com>
Sun, 24 Jul 2016 06:57:48 +0000 (14:57 +0800)
committerSean Paul <seanpaul@chromium.org>
Tue, 23 Aug 2016 15:44:33 +0000 (11:44 -0400)
commit5b3f84f222b6bb955c5a473ddff707e252be71b4
tree54d6426c9f962df80865874b58626860efe23e87
parent5182c1a556d7ff70e28516c4b9250a347b732af0
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>
drivers/gpu/drm/bridge/analogix/analogix_dp_core.c
drivers/gpu/drm/bridge/analogix/analogix_dp_core.h
drivers/gpu/drm/bridge/analogix/analogix_dp_reg.c
drivers/gpu/drm/bridge/analogix/analogix_dp_reg.h
include/drm/bridge/analogix_dp.h