projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge tag 'imx-defconfig-4.8' of git://git.kernel.org/pub/scm/linux/kernel/git/shawng...
[cascardo/linux.git]
/
drivers
/
gpu
/
drm
/
amd
/
amdgpu
/
fiji_dpm.c
diff --git
a/drivers/gpu/drm/amd/amdgpu/fiji_dpm.c
b/drivers/gpu/drm/amd/amdgpu/fiji_dpm.c
index
245cabf
..
ed03b75
100644
(file)
--- a/
drivers/gpu/drm/amd/amdgpu/fiji_dpm.c
+++ b/
drivers/gpu/drm/amd/amdgpu/fiji_dpm.c
@@
-72,6
+72,11
@@
static int fiji_dpm_sw_init(void *handle)
static int fiji_dpm_sw_fini(void *handle)
{
+ struct amdgpu_device *adev = (struct amdgpu_device *)handle;
+
+ release_firmware(adev->pm.fw);
+ adev->pm.fw = NULL;
+
return 0;
}