]> 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)
commit94389e9db130e8a222b64dd54b5e45cde50e48cc
tree940390a46087fa6e8d4dd6604d71bde0e2762cdd
parent982074a0c3c50f22c16f49e32c94da257eb0cf80
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