]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Do not send training pattern if VS Different
authorSung Lee <sung.lee@amd.com>
Fri, 3 Jan 2020 19:03:52 +0000 (14:03 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 22 Jan 2020 21:55:27 +0000 (16:55 -0500)
commit4e5a306777a926092f1a2f354124ef0560090f31
tree5c631a0be4b953f9f27c4fe780572a809d26477b
parent8a5512af418e09ade157b8880086cd137371b1bd
drm/amd/display: Do not send training pattern if VS Different

[Why]
The DP 1.4a Spec requires that training pattern only under certain
specific conditions. Currently driver will re-send
training pattern every time voltage swing value changes,
but that should not be the case.

[How]
Do not re-send training pattern every time VS values
are different. Only send it on the first iteration.

Signed-off-by: Sung Lee <sung.lee@amd.com>
Reviewed-by: Tony Cheng <Tony.Cheng@amd.com>
Acked-by: Abdoulaye Berthe <Abdoulaye.Berthe@amd.com>
Acked-by: Bhawanpreet Lakha <Bhawanpreet.Lakha@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c