]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Use absolute time stamp to follow the eDP T7 spec requirement
authorDale Zhao <dale.zhao@amd.com>
Mon, 2 Dec 2019 02:31:55 +0000 (10:31 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 18 Dec 2019 21:09:10 +0000 (16:09 -0500)
commitb3dfa250f8051485fe411f9f9e8049db03775ffb
tree940390a46087fa6e8d4dd6604d71bde0e2762cdd
parent316d10fd5711c1304b09c6fb73e5152f7a1bcfc8
drm/amd/display: Use absolute time stamp to follow the eDP T7 spec requirement

[Why]:
According to eDP spec, max T7 delay should be 50 ms. Current code uses 300
retry counters may not be accurate enough for different panels.

[How]:
Use absolute time stamp to achive accurate delay.

Signed-off-by: Dale Zhao <dale.zhao@amd.com>
Reviewed-by: Anthony Koo <Anthony.Koo@amd.com>
Acked-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/core/dc_link_hwss.c