drm/amdgpu: add release firmware for cgs
authorMonk Liu <Monk.Liu@amd.com>
Tue, 31 May 2016 05:44:30 +0000 (13:44 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 9 Jun 2016 14:49:13 +0000 (10:49 -0400)
commita392746a8c38de494a1a2d00c5cfd34a05449e35
treea139ea9f9034bf7072e5e13fd5022d86ca5678e3
parent86e4cdd675f489e0b3deaa3d6b75cddadd16e71c
drm/amdgpu: add release firmware for cgs

Powerplay uses cgs to load the firmware so add a function
to release it as well to avoid leaking it on driver unload.

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/amdgpu/amdgpu_cgs.c
drivers/gpu/drm/amd/include/cgs_common.h