]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: extending AUX SW Timeout
authorMartin Leung <martin.leung@amd.com>
Tue, 26 Mar 2019 17:14:11 +0000 (13:14 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 11 Apr 2019 15:03:08 +0000 (10:03 -0500)
commitfb310501666051ba1e07632adad80ad2fbdc0059
tree1d0590f68ae8ef44b04ec4701c6e2c0297d1b3c3
parent80fa0d86e8f7ed0c9f70ddd4456cde53b2da8a2e
drm/amd/display: extending AUX SW Timeout

[Why]
AUX takes longer to reply when using active DP-DVI dongle on some asics
resulting in up to 2000+ us edid read (timeout).

[How]
1. Adjust AUX poll to match spec
2. Extend the SW timeout. This does not affect normal
operation since we exit the loop as soon as AUX acks.

Signed-off-by: Martin Leung <martin.leung@amd.com>
Reviewed-by: Jun Lei <Jun.Lei@amd.com>
Acked-by: Joshua Aberback <Joshua.Aberback@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/dce/dce_aux.c
drivers/gpu/drm/amd/display/dc/dce/dce_aux.h