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)
commitf4bbebf8e7eb4d294b040ab2d2ba71e70e69b930
tree1d0590f68ae8ef44b04ec4701c6e2c0297d1b3c3
parent543c364d8eeeb42c0edfaac9764f4e9f3d777ec1
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