aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu.h
diff options
context:
space:
mode:
authorJia-Ju Bai <baijiaju1990@gmail.com>2018-08-03 20:01:02 -0400
committerAlex Deucher <alexander.deucher@amd.com>2018-08-27 12:10:02 -0400
commit4b991c54ce82e85d89babcf32d72746365163ed5 (patch)
tree8ec334782df410bf5cfdacdca49e6b83f545e05a /drivers/gpu/drm/amd/amdgpu/amdgpu.h
parent2f2debb5a162ea9aeb03ad2532827631e3a68b1a (diff)
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 <baijiaju1990@gmail.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu.h')
0 files changed, 0 insertions, 0 deletions