]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: Add smu lock around in pp_smu_i2c_bus_access
authorAndrey Grodzovsky <andrey.grodzovsky@amd.com>
Tue, 3 Sep 2019 20:47:40 +0000 (16:47 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 17 Sep 2019 19:23:58 +0000 (14:23 -0500)
commit27275d025e3661f7ce08c41c888bff1a0ce6d588
treecd339ddf1cac2123f4da82704806016216635561
parentcdc72ecde11fb81e3cef0697fd3e5bec8de62e41
drm/amdgpu: Add smu lock around in pp_smu_i2c_bus_access

Protect from concurrent SMU accesses.

Signed-off-by: Andrey Grodzovsky <andrey.grodzovsky@amd.com>
Reviewed-by: Tao Zhou <tao.zhou1@amd.com>
Reviewed-and-tested-by: Guchun Chen <guchun.chen@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/amd_powerplay.c