linux/drivers/gpu/drm/amd
Kevin Wang 0092130675 drm/amd/powerplay: add sensor lock support for smu
when multithreading access sysfs of amdgpu_pm_info at the sametime.
the swsmu driver cause smu firmware hang.

eg:
single thread access:
Message A + Param A ==> right
Message B + Param B ==> right
Message C + Param C ==> right
multithreading access:
Message A + Param B ==> error
Message B + Param A ==> error
Message C + Param C ==> right

the patch will add sensor lock(mutex) to avoid this error.

Signed-off-by: Kevin Wang <kevin1.wang@amd.com>
Reviewed-by: Kenneth Feng <kenneth.feng@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org # 5.3.x
2019-10-02 12:23:05 -05:00
..
acp treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
amdgpu drm/amdgpu: revert "disable bulk moves for now" 2019-10-02 12:23:03 -05:00
amdkfd drm fixes for 5.4-rc1 2019-09-27 11:13:35 -07:00
display drm fixes for 5.4-rc1 2019-09-27 11:13:35 -07:00
include drm/amd/display: update renoir_ip_offset.h 2019-09-17 14:22:29 -05:00
powerplay drm/amd/powerplay: add sensor lock support for smu 2019-10-02 12:23:05 -05:00