OSDN Git Service

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)
commit302f598804dc768cd2aa7ed7d6b7bfd326131819
tree940390a46087fa6e8d4dd6604d71bde0e2762cdd
parenta70445918b84e6a783375cc537fc95b0dbe05fcb
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