]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
drm/bridge: analogix_dp: Don't change psr while bridge is disabled
authorzain wang <wzz@rock-chips.com>
Fri, 9 Mar 2018 22:22:54 +0000 (23:22 +0100)
committerHeiko Stuebner <heiko@sntech.de>
Wed, 14 Mar 2018 10:29:31 +0000 (11:29 +0100)
commit243e398aab8dc0ba966dbcfef189b5a616e74a78
tree46ac5d7a9320df7de92093d92cda1624e9264792
parentbaa2f0240144c28502c09902f6a116138a354561
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
drivers/gpu/drm/bridge/analogix/analogix_dp_core.c
drivers/gpu/drm/bridge/analogix/analogix_dp_core.h
drivers/gpu/drm/rockchip/analogix_dp-rockchip.c
include/drm/bridge/analogix_dp.h