mirror_ubuntu-kernels/drivers/gpu/drm/amd
Evan Quan 3697b339c6 drm/amd/powerplay: add lock protection for swSMU APIs V2
This is a quick and low risk fix. Those APIs which
are exposed to other IPs or to support sysfs/hwmon
interfaces or DAL will have lock protection. Meanwhile
no lock protection is enforced for swSMU internal used
APIs. Future optimization is needed.

V2: strip the lock protection for all swSMU internal APIs

Signed-off-by: Evan Quan <evan.quan@amd.com>
Acked-by: Andrey Grodzovsky <andrey.grodzovsky@amd.com>
Acked-by: Feifei Xu <Feifei.Xu@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2019-10-25 16:50:09 -04:00
..
acp treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
amdgpu drm/amd/powerplay: add lock protection for swSMU APIs V2 2019-10-25 16:50:09 -04:00
amdkfd drm/amdkfd: update for drmP.h removal 2019-10-09 12:04:48 -05:00
display drm/amd/powerplay: add lock protection for swSMU APIs V2 2019-10-25 16:50:09 -04:00
include drm/amdgpu: add VCN0 and VCN1 needed headers 2019-10-25 16:50:09 -04:00
powerplay drm/amd/powerplay: add lock protection for swSMU APIs V2 2019-10-25 16:50:09 -04:00