diff options
author | Aric Cyr <[email protected]> | 2023-02-03 17:46:05 -0500 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2023-02-28 14:29:35 -0500 |
commit | c69fc3d0de6ca79d946a2715f8745a1eae69c3d8 (patch) | |
tree | ab0b6ea431a835a5124e07c35bb46c7b2568ad28 /drivers/gpu/drm/amd/display/modules/inc/mod_hdcp.h | |
parent | b4ceeffd13870b641a284ffb0f6fb4ffe19b0b14 (diff) |
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 <[email protected]>
Acked-by: Qingqing Zhuo <[email protected]>
Signed-off-by: Aric Cyr <[email protected]>
Tested-by: Daniel Wheeler <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/display/modules/inc/mod_hdcp.h')
0 files changed, 0 insertions, 0 deletions