Re: [PATCH] drm/amdgpu/smu: add a send message lock

2020-02-18 Thread Nirmoy
On 2/18/20 3:31 PM, Alex Deucher wrote: The driver uses a scratch register to communicate with the SMU. Add a lock to make sure we don't try and do this concurrently by accident. Signed-off-by: Alex Deucher Acked-by: Nirmoy Das --- drivers/gpu/drm/amd/powerplay/amdgpu_smu.c | 1 + d

[PATCH] drm/amdgpu/smu: add a send message lock

2020-02-18 Thread Alex Deucher
The driver uses a scratch register to communicate with the SMU. Add a lock to make sure we don't try and do this concurrently by accident. Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/powerplay/amdgpu_smu.c | 1 + drivers/gpu/drm/amd/powerplay/inc/amdgpu_smu.h | 1 + drivers/gpu/drm/a