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 'omap-for-v4.8/soc-signed' of git://git.kernel.org/pub/scm/linux/kernel...
[cascardo/linux.git]
/
drivers
/
gpu
/
drm
/
amd
/
amdgpu
/
iceland_dpm.c
diff --git
a/drivers/gpu/drm/amd/amdgpu/iceland_dpm.c
b/drivers/gpu/drm/amd/amdgpu/iceland_dpm.c
index
460bc8a
..
825ccd6
100644
(file)
--- a/
drivers/gpu/drm/amd/amdgpu/iceland_dpm.c
+++ b/
drivers/gpu/drm/amd/amdgpu/iceland_dpm.c
@@
-72,6
+72,11
@@
static int iceland_dpm_sw_init(void *handle)
static int iceland_dpm_sw_fini(void *handle)
{
+ struct amdgpu_device *adev = (struct amdgpu_device *)handle;
+
+ release_firmware(adev->pm.fw);
+ adev->pm.fw = NULL;
+
return 0;
}