diff options
| author | Jia-Ju Bai <[email protected]> | 2018-08-04 00:01:02 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2018-08-27 16:10:02 +0000 |
| commit | 4b991c54ce82e85d89babcf32d72746365163ed5 (patch) | |
| tree | 8ec334782df410bf5cfdacdca49e6b83f545e05a /drivers/gpu/drm/amd/amdgpu/amdgpu_encoders.c | |
| parent | gpu: drm: radeon: si: Replace mdelay() with msleep() in si_pcie_gen3_enable() (diff) | |
| download | kernel-4b991c54ce82e85d89babcf32d72746365163ed5.tar.gz kernel-4b991c54ce82e85d89babcf32d72746365163ed5.zip | |
gpu: drm: radeon: radeon_test: Replace mdelay() with msleep()
radeon_test_ring_sync() and radeon_test_ring_sync2() are never
called in atomic context.
They call mdelay() to busily wait, which is not necessary.
mdelay() can be replaced with msleep().
This is found by a static analysis tool named DCNS written by myself.
Signed-off-by: Jia-Ju Bai <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_encoders.c')
0 files changed, 0 insertions, 0 deletions
