diff options
| author | Kevin Wang <[email protected]> | 2019-09-26 08:22:13 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2019-10-03 14:11:04 +0000 |
| commit | 95f71bfad2c8015e46bce2c23b6f532afc6ab820 (patch) | |
| tree | 5e7167c3eead07d71b383bd3092185c542214150 /drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c | |
| parent | drm/amd/powerplay: change metrics update period from 1ms to 100ms (diff) | |
| download | kernel-95f71bfad2c8015e46bce2c23b6f532afc6ab820.tar.gz kernel-95f71bfad2c8015e46bce2c23b6f532afc6ab820.zip | |
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 <[email protected]>
Reviewed-by: Kenneth Feng <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c')
0 files changed, 0 insertions, 0 deletions
