]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Change the delay time before enabling FEC
authorLeo (Hanghong) Ma <hanghong.ma@amd.com>
Thu, 7 Nov 2019 21:30:04 +0000 (16:30 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 5 Dec 2019 23:18:33 +0000 (18:18 -0500)
commit774c56b3e8f8b262087f5faa5ba15afe54283fac
tree34a59e358f75fdd46cc8364470eadb5215dfa532
parenta54b701c380640b6d7f33cd06b35e6634e506905
drm/amd/display: Change the delay time before enabling FEC

[why]
DP spec requires 1000 symbols delay between the end of link training
and enabling FEC in the stream. Currently we are using 1 miliseconds
delay which is not accurate.

[how]
One lane RBR should have the maximum time for transmitting 1000 LL
codes which is 6.173 us. So using 7 microseconds delay instead of
1 miliseconds.

Signed-off-by: Leo (Hanghong) Ma <hanghong.ma@amd.com>
Reviewed-by: Harry Wentland <Harry.Wentland@amd.com>
Reviewed-by: Nikola Cornij <Nikola.Cornij@amd.com>
Acked-by: Leo Li <sunpeng.li@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c