drm/amd/display: use udelay rather than fsleep
authorAlex Deucher <alexander.deucher@amd.com>
Wed, 3 Sep 2025 13:11:12 +0000 (09:11 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 9 Sep 2025 20:39:16 +0000 (16:39 -0400)
commit1d66c3f2b8c0b5c51f3f4fe29b362c9851190c5a
treef12e10b76ba4f8694f082239bca1663cfa55ebee
parent7838fb5f119191403560eca2e23613380c0e425e
drm/amd/display: use udelay rather than fsleep

This function can be called from an atomic context so we can't use
fsleep().

Fixes: 01f60348d8fb ("drm/amd/display: Fix 'failed to blank crtc!'")
Closes: https://gitlab.freedesktop.org/drm/amd/-/issues/4549
Cc: Wen Chen <Wen.Chen3@amd.com>
Cc: Fangzhi Zuo <jerry.zuo@amd.com>
Cc: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Cc: Harry Wentland <harry.wentland@amd.com>
Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
(cherry picked from commit 27e4dc2c0543fd1808cc52bd888ee1e0533c4a2e)
drivers/gpu/drm/amd/display/dc/hwss/dcn20/dcn20_hwseq.c