drm/amdgpu: fix smu ucode memleak (v2)
authorMonk Liu <Monk.Liu@amd.com>
Tue, 31 May 2016 05:44:48 +0000 (13:44 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 9 Jun 2016 14:49:14 +0000 (10:49 -0400)
commit5bbc16cc7be89dbe6dd824570456c3340b6d2ef7
tree20e8c240933a71975d146e18df5108acdd85c250
parenta392746a8c38de494a1a2d00c5cfd34a05449e35
drm/amdgpu: fix smu ucode memleak (v2)

Properly release the smu ucode in powerplay.

v2: agd: add polaris as well

Signed-off-by: Monk Liu <Monk.Liu@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c
drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c
drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c