linux-stable/drivers/gpu/drm/amd
Jia-Ju Bai 586092ab4b gpu: drm: amdgpu: Replace mdelay with msleep in cik_pcie_gen3_enable()
cik_pcie_gen3_enable() is only called by cik_common_hw_init(), which is
never called in atomic context.
cik_pcie_gen3_enable() calls 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>
2018-07-25 15:06:40 -05:00
..
acp drm/amdgpu: Remove wrapper layer of cgs irq handling 2018-03-21 14:36:58 -05:00
amdgpu gpu: drm: amdgpu: Replace mdelay with msleep in cik_pcie_gen3_enable() 2018-07-25 15:06:40 -05:00
amdkfd Merge tag 'drm-amdkfd-next-2018-05-14' of git://people.freedesktop.org/~gabbayo/linux into drm-next 2018-05-15 16:06:08 +10:00
display drm/amd/display: DC 3.1.58 2018-07-24 15:16:07 -05:00
include drm/amd: Add interrupt source definitions for SOC15 v3. 2018-07-13 14:45:37 -05:00
lib drm/amdgpu: add license to Makefiles 2017-12-07 11:51:10 -05:00
powerplay drm/amd/powerplay: allow slow switch only if NBPState enabled v2 2018-07-24 15:14:35 -05:00