drm/amd/display: Change AUX NACK behavior
authorIlya Bakoulin <Ilya.Bakoulin@amd.com>
Thu, 4 Aug 2022 17:44:51 +0000 (13:44 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 25 Aug 2022 17:34:40 +0000 (13:34 -0400)
commit95bbbb88ed49f6d4f46c9a23be0ba94db2fa65e9
tree639b130dd4ae64e0227862ffd81342c4acd2c02b
parent9f92c20279ee0f5256499d9fe55b6d6c4c414276
drm/amd/display: Change AUX NACK behavior

[Why]
Retrying on receiving a NACK can result in long overall EDID read times
in some cases.

[How]
Retry only on DEFER and return immediately on NACK.

Reviewed-by: Aric Cyr <Aric.Cyr@amd.com>
Acked-by: Brian Chang <Brian.Chang@amd.com>
Signed-off-by: Ilya Bakoulin <Ilya.Bakoulin@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dce/dce_aux.c