Re: [PATCH 2/2] drm/amdgpu/smu: Add message sending lock

2020-02-25 Thread Alex Deucher
On Wed, Feb 19, 2020 at 2:19 PM Matt Coffin wrote: > > This adds a message lock to the smu_send_smc_msg* implementations to > protect against concurrent access to the mmu registers used to > communicate with the SMU Missing your signed-off-by. Also you need to move the mutex init and

[PATCH 2/2] drm/amdgpu/smu: Add message sending lock

2020-02-19 Thread Matt Coffin
This adds a message lock to the smu_send_smc_msg* implementations to protect against concurrent access to the mmu registers used to communicate with the SMU --- drivers/gpu/drm/amd/powerplay/smu_v11_0.c | 12 +++- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git