drm/amd/pp: Use release_firmware directly in powerplay
authorRex Zhu <Rex.Zhu@amd.com>
Thu, 22 Mar 2018 11:32:45 +0000 (19:32 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 11 Apr 2018 18:07:49 +0000 (13:07 -0500)
commit64f6db77fcb81493988061587fa478e6612dc45b
tree8784474ee9f8724442bea696cf6852090c418b90
parent8bb575a2d83af097980641d864401b303286755c
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>
drivers/gpu/drm/amd/powerplay/amd_powerplay.c
drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c
drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c