]> git.ipfire.org Git - thirdparty/linux.git/commit
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:15:51 +0000 (16:15 -0400)
commit27e4dc2c0543fd1808cc52bd888ee1e0533c4a2e
tree74179ea5c54db7eaa7a61e6936bd26a942243175
parent4e89d629dc72965ea05a9b5231862ffd9c9dab55
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>
drivers/gpu/drm/amd/display/dc/hwss/dcn20/dcn20_hwseq.c