linux_dsm_epyc7002/drivers/gpu/drm/amd/powerplay
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
..
hwmgr drm/amd/powerplay: correct Vega20 dpm level related settings 2019-08-27 12:23:40 -05:00
inc drm/amd/powerplay: add sensor lock support for smu 2019-10-02 12:23:05 -05:00
smumgr drm/amdgpu: Move null pointer dereference check 2019-08-30 15:37:17 -05:00
amd_powerplay.c drm/amdgpu: Add smu lock around in pp_smu_i2c_bus_access 2019-09-17 14:23:58 -05:00
amdgpu_smu.c drm/amd/powerplay: add sensor lock support for smu 2019-10-02 12:23:05 -05:00
arcturus_ppt.c drm/amd/powerplay: add sensor lock support for smu 2019-10-02 12:23:05 -05:00
arcturus_ppt.h drm/amd/powerplay: update arcturus_ppt.c/h V3 2019-07-30 23:48:33 -05:00
Makefile drm/amdgpu/powerplay: add smu ip block for renoir (v2) 2019-08-22 17:36:58 -05:00
navi10_ppt.c drm/amd/powerplay: add sensor lock support for smu 2019-10-02 12:23:05 -05:00
navi10_ppt.h drm/amd/powerplay: custom peak clock freq for navi10 2019-07-22 15:23:07 -05:00
renoir_ppt.c drm/amd/powerplay: implement sysfs for getting dpm clock 2019-09-17 14:41:13 -05:00
renoir_ppt.h drm/amd/powerplay: implement sysfs for getting dpm clock 2019-09-17 14:41:13 -05:00
smu_v11_0.c drm/amd/powerplay: add the interface for getting ultimate frequency v3 2019-08-29 15:52:32 -05:00
smu_v12_0.c drm/amd/powerplay: add the interface for getting ultimate frequency v3 2019-08-29 15:52:32 -05:00
vega20_ppt.c drm/amd/powerplay: add sensor lock support for smu 2019-10-02 12:23:05 -05:00
vega20_ppt.h drm/amd/powerplay: simplified od_settings for each asic 2019-06-21 18:59:32 -05:00