drm/amdgpu: fix fw leak in non-powerplay dpm code
authorAlex Deucher <alexander.deucher@amd.com>
Wed, 1 Jun 2016 15:09:01 +0000 (11:09 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 9 Jun 2016 14:48:56 +0000 (10:48 -0400)
commit768c95e70c4bd33b3da32a15dd33486246f4ca79
tree91f007ea811d55cd161fcd14a1f4932cbde5308b
parenta6dcfd9cc55432e4dcbe058d6ae9f07fb3452992
drm/amdgpu: fix fw leak in non-powerplay dpm code

We need to release the firmware on driver tear down.

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/ci_dpm.c
drivers/gpu/drm/amd/amdgpu/fiji_dpm.c
drivers/gpu/drm/amd/amdgpu/iceland_dpm.c
drivers/gpu/drm/amd/amdgpu/tonga_dpm.c