drm/amd/display: Increase the number of retries after AUX DEFER
authorGeorge Shen <george.shen@amd.com>
Fri, 15 Nov 2019 23:56:57 +0000 (18:56 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 5 Dec 2019 23:23:43 +0000 (18:23 -0500)
commit0df62823630d03d58f6eedb99fab285f847e4a1b
treec1301bbf43a74de1598c95b32b44c2a0559ebd88
parent44ce6c3dc8479bb3ed68df13b502b0901675e7d6
drm/amd/display: Increase the number of retries after AUX DEFER

[Why]
When a timeout occurs after a DEFER, some devices require more retries
than in the case of a regular timeout.

[How]
In a timeout occurrence, check whether a DEFER has occurred before the
timeout and retry MAX_DEFER_RETRIES retries times instead of
MAX_TIMEOUT_RETRIES.

Signed-off-by: George Shen <george.shen@amd.com>
Reviewed-by: Tony Cheng <Tony.Cheng@amd.com>
Acked-by: Abdoulaye Berthe <Abdoulaye.Berthe@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