commit | 1c58267cbe46f0b5741628a72d10b5464712a012 | [log] [tgz] |
---|---|---|
author | Matt Coffin <mcoffin13@gmail.com> | Wed Feb 26 16:16:12 2020 -0700 |
committer | Alex Deucher <alexander.deucher@amd.com> | Fri Feb 28 16:59:23 2020 -0500 |
tree | cda0abc21d7a98e21afe89c0f485d9b8674f91cd | |
parent | 2622e2ae27b5bcc31090cd904d54d29111cc7113 [diff] |
drm/amdgpu/powerplay: Refactor SMU message handling for safety Move the responsibility for reading argument registers into the smu_send_smc_msg* implementations, so that adding a message-sending lock to protect the SMU registers will result in the lock still being held when the argument is read. v2: transition smu_v12_0, it's asics, and vega20 Signed-off-by: Matt Coffin <mcoffin13@gmail.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>