]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit3f67a179a52857cdfdf13b85720004347c1f76a7
treea139ea9f9034bf7072e5e13fd5022d86ca5678e3
parentf17099c88d96bfc6ce142cdb8b102976c6b768c7
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