aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2022-01-20 12:57:33 -0500
committerAlex Deucher <alexander.deucher@amd.com>2022-01-25 18:00:33 -0500
commit0fc2549d55a238da5e4c1b1ae20ebc3856922334 (patch)
tree2df2e4e6ef732d8a03cd73688bf6ecd027e05db6 /drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
parent5e0c8ddf029e0a8533bfb04e4542b46356cbcade (diff)
drm/amdgpu/display: use msleep rather than udelay for long delays
Some architectures (e.g., ARM) throw an compilation error if the udelay is too long. In general udelays of longer than 2000us are not recommended on any architecture. Switch to msleep in these cases. Reviewed-by: Harry Wentland <harry.wentland@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c')
0 files changed, 0 insertions, 0 deletions