]> asedeno.scripts.mit.edu Git - linux.git/commit
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 21:32:45 +0000 (16:32 -0500)
commit772c0b59ad94e8d828355aec5494f02f807eb504
tree60d7998ec6e7e09b88e40d1f523e2493a9df7007
parent186a1fb79c6ce6b52eaa168c64d5f5964a3bd645
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