drm/amd/display: Use udelay when waiting between aux retries
authorJohn Barberiz <John.Barberiz@amd.com>
Wed, 16 Jan 2019 22:21:31 +0000 (17:21 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 6 Feb 2019 02:16:22 +0000 (21:16 -0500)
commit9ca089925f0c318307881eadc0535e7c7a7b5e2d
treea32ae72da07717bb2e7f17d9ec02b4bb29fd3958
parent1b52f2d5679db90166ea71382211f3c7319aab51
drm/amd/display: Use udelay when waiting between aux retries

[Why]
"IRQ_HPD Pulse Length Test" DP compliance test
fails. Test complains that certain DPCD registers
are not read within 100 ms.

[How]
msleep is inaccurate for small values. Used udelay
instead for accuracy.

Signed-off-by: John Barberiz <John.Barberiz@amd.com>
Reviewed-by: Wenjing Liu <Wenjing.Liu@amd.com>
Acked-by: Bhawanpreet Lakha <Bhawanpreet.Lakha@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dce/dce_aux.c