diff options
author | Matt Coffin <mcoffin13@gmail.com> | 2020-02-26 16:16:13 -0700 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2020-02-28 16:59:23 -0500 |
commit | ae458c7b9dcc9284eec81c86ef0deab5a087d136 (patch) | |
tree | d3e5d85118be1396ca5c497d0dae4515f799de83 /drivers/gpu/drm/amd/powerplay/smu_v12_0.c | |
parent | 1c58267cbe46f0b5741628a72d10b5464712a012 (diff) |
drm/amdgpu/powerplay: Remove deprecated smc_read_arg
The new interface reads the argument in the call to send the message, so
this is no longer needed, and shouldn't be used for concurrency safety
reasons.
Signed-off-by: Matt Coffin <mcoffin13@gmail.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/powerplay/smu_v12_0.c')
-rw-r--r-- | drivers/gpu/drm/amd/powerplay/smu_v12_0.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/powerplay/smu_v12_0.c b/drivers/gpu/drm/amd/powerplay/smu_v12_0.c index 2e4bb77a67be..c18b08c8cb9a 100644 --- a/drivers/gpu/drm/amd/powerplay/smu_v12_0.c +++ b/drivers/gpu/drm/amd/powerplay/smu_v12_0.c @@ -50,7 +50,7 @@ int smu_v12_0_send_msg_without_waiting(struct smu_context *smu, return 0; } -int smu_v12_0_read_arg(struct smu_context *smu, uint32_t *arg) +static int smu_v12_0_read_arg(struct smu_context *smu, uint32_t *arg) { struct amdgpu_device *adev = smu->adev; |