diff options
author | 2023-02-03 17:46:05 -0500 | |
---|---|---|
committer | 2023-02-28 14:29:35 -0500 | |
commit | c69fc3d0de6ca79d946a2715f8745a1eae69c3d8 (patch) | |
tree | ab0b6ea431a835a5124e07c35bb46c7b2568ad28 /drivers/gpu/drm/amd/display/modules | |
parent | drm/amd/display: fix shift-out-of-bounds in CalculateVMAndRowBytes (diff) | |
download | wireguard-linux-c69fc3d0de6ca79d946a2715f8745a1eae69c3d8.tar.xz wireguard-linux-c69fc3d0de6ca79d946a2715f8745a1eae69c3d8.zip |
drm/amd/display: Reduce CPU busy-waiting for long delays
[WHY]
udelay should not be used for long waits since it keeps CPU active,
wasting power.
[HOW]
Use fsleep where acceptable to allow CPU cores to be parked by the scheduler.
Reviewed-by: Wenjing Liu <Wenjing.Liu@amd.com>
Acked-by: Qingqing Zhuo <qingqing.zhuo@amd.com>
Signed-off-by: Aric Cyr <aric.cyr@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/modules')
0 files changed, 0 insertions, 0 deletions