diff options
author | Rex Zhu <Rex.Zhu@amd.com> | 2018-03-22 19:32:45 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2018-04-11 13:07:49 -0500 |
commit | 64f6db77fcb81493988061587fa478e6612dc45b (patch) | |
tree | 8784474ee9f8724442bea696cf6852090c418b90 /drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c | |
parent | 8bb575a2d83af097980641d864401b303286755c (diff) | |
download | op-kernel-dev-64f6db77fcb81493988061587fa478e6612dc45b.zip op-kernel-dev-64f6db77fcb81493988061587fa478e6612dc45b.tar.gz |
drm/amd/pp: Use release_firmware directly in powerplay
Use kernel api directly so we can deprecate the cgs interface.
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Rex Zhu <Rex.Zhu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c')
-rw-r--r-- | drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c b/drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c index 3684822..41fab2d 100644 --- a/drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c +++ b/drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c @@ -650,6 +650,5 @@ int smu7_smu_fini(struct pp_hwmgr *hwmgr) kfree(hwmgr->smu_backend); hwmgr->smu_backend = NULL; - cgs_rel_firmware(hwmgr->device, CGS_UCODE_ID_SMU); return 0; } |