Skip to content

Commit dc919d6

Browse files
committed
drm/amdgpu/display: adjust msleep limit in dp_wait_for_training_aux_rd_interval
Some architectures (e.g., ARM) have relatively low udelay limits. On most architectures, anything longer than 2000us is not recommended. Change the check to align with other similar checks in DC. Reviewed-by: Harry Wentland <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
1 parent 9e5a14b commit dc919d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ void dp_wait_for_training_aux_rd_interval(
202202
uint32_t wait_in_micro_secs)
203203
{
204204
#if defined(CONFIG_DRM_AMD_DC_DCN)
205-
if (wait_in_micro_secs > 16000)
205+
if (wait_in_micro_secs > 1000)
206206
msleep(wait_in_micro_secs/1000);
207207
else
208208
udelay(wait_in_micro_secs);

0 commit comments

Comments
 (0)