summaryrefslogtreecommitdiffstats
path: root/include/drm/bridge
diff options
context:
space:
mode:
authorzain wang <wzz@rock-chips.com>2018-03-09 23:22:54 +0100
committerHeiko Stuebner <heiko@sntech.de>2018-03-14 11:29:31 +0100
commit243e398aab8dc0ba966dbcfef189b5a616e74a78 (patch)
tree46ac5d7a9320df7de92093d92cda1624e9264792 /include/drm/bridge
parentdrm/rockchip: Remove analogix psr worker (diff)
downloadlinux-243e398aab8dc0ba966dbcfef189b5a616e74a78.tar.xz
linux-243e398aab8dc0ba966dbcfef189b5a616e74a78.zip
drm/bridge: analogix_dp: Don't change psr while bridge is disabled
There is a race between AUX CH bring-up and enabling bridge which will cause link training to fail. To avoid hitting it, don't change psr state while enabling the bridge. Cc: Tomeu Vizoso <tomeu.vizoso@collabora.com> Cc: Sean Paul <seanpaul@chromium.org> Signed-off-by: zain wang <wzz@rock-chips.com> Signed-off-by: Caesar Wang <wxt@rock-chips.com> [seanpaul fixed up the commit message a bit and renamed *_supported to *_enabled] Signed-off-by: Sean Paul <seanpaul@chromium.org> Signed-off-by: Thierry Escande <thierry.escande@collabora.com> Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com> Tested-by: Marek Szyprowski <m.szyprowski@samsung.com> Reviewed-by: Archit Taneja <architt@codeaurora.org> Signed-off-by: Heiko Stuebner <heiko@sntech.de> Link: https://patchwork.freedesktop.org/patch/msgid/20180309222327.18689-4-enric.balletbo@collabora.com
Diffstat (limited to 'include/drm/bridge')
-rw-r--r--include/drm/bridge/analogix_dp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/drm/bridge/analogix_dp.h b/include/drm/bridge/analogix_dp.h
index 711fff9b6803..e9a1116d2f8e 100644
--- a/include/drm/bridge/analogix_dp.h
+++ b/include/drm/bridge/analogix_dp.h
@@ -41,7 +41,7 @@ struct analogix_dp_plat_data {
struct drm_connector *);
};
-int analogix_dp_psr_supported(struct analogix_dp_device *dp);
+int analogix_dp_psr_enabled(struct analogix_dp_device *dp);
int analogix_dp_enable_psr(struct analogix_dp_device *dp);
int analogix_dp_disable_psr(struct analogix_dp_device *dp);