]> 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)
commit958bd00996c14d7a417fb7978077b6ea25d9d416
treea139ea9f9034bf7072e5e13fd5022d86ca5678e3
parent89d52d925a83e39c2a9acb2afd3660ccc31cb87f
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