]> 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>
Fri, 13 Sep 2019 22:50:04 +0000 (17:50 -0500)
commit7793e1cf27c6358564485e6285d62b28f238dcdc
tree49ae2132b9fb70cd30e7806c9f20662c8f59df80
parent52d6dfb95753cfa948721bb64b7e9b3f14e3b908
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