]> git.baikalelectronics.ru Git - kernel.git/commit
drm: bridge: analogix/dp: remove duplicate configuration of link rate and link count
authorYakir Yang <ykk@rock-chips.com>
Mon, 15 Feb 2016 11:10:04 +0000 (19:10 +0800)
committerYakir Yang <ykk@rock-chips.com>
Tue, 5 Apr 2016 02:13:02 +0000 (10:13 +0800)
commit6ffd9198eb9d7d16e4f887308595606a85ae2f97
tree4aeb92aaa804f3e2f4dbb64bb1a9b6d9dc12175b
parentf379033fc89f5b4a9b6375d7b3ece82b971a2615
drm: bridge: analogix/dp: remove duplicate configuration of link rate and link count

link_rate and lane_count already configured in analogix_dp_set_link_train(),
so we don't need to config those repeatly after training finished, just
remove them out.

Beside Display Port 1.2 already support 5.4Gbps link rate, the maximum sets
would change from {1.62Gbps, 2.7Gbps} to {1.62Gbps, 2.7Gbps, 5.4Gbps}.

Tested-by: Caesar Wang <wxt@rock-chips.com>
Tested-by: Douglas Anderson <dianders@chromium.org>
Tested-by: Heiko Stuebner <heiko@sntech.de>
Tested-by: Javier Martinez Canillas <javier@osg.samsung.com>
Signed-off-by: Yakir Yang <ykk@rock-chips.com>
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