diff options
| author | Jia-Ju Bai <[email protected]> | 2018-08-04 08:01:02 +0800 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2018-08-27 11:10:02 -0500 |
| commit | 4b991c54ce82e85d89babcf32d72746365163ed5 (patch) | |
| tree | 8ec334782df410bf5cfdacdca49e6b83f545e05a /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | 2f2debb5a162ea9aeb03ad2532827631e3a68b1a (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 <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions