artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9ab2ae8
)
drm/radeon: free iio for atombios when driver shutdown
author
jsg
<jsg@openbsd.org>
Mon, 27 Mar 2023 03:46:41 +0000
(
03:46
+0000)
committer
jsg
<jsg@openbsd.org>
Mon, 27 Mar 2023 03:46:41 +0000
(
03:46
+0000)
From Liwei Song
107b8b542bb9dab4cbdc3276c85fbdd7f6782313
in linux-6.1.y/6.1.16
4773fadedca918faec443daaca5e4ea1c0ced144
in mainline linux
sys/dev/pci/drm/radeon/radeon_device.c
patch
|
blob
|
history
diff --git
a/sys/dev/pci/drm/radeon/radeon_device.c
b/sys/dev/pci/drm/radeon/radeon_device.c
index
d60e79f
..
faa55d4
100644
(file)
--- a/
sys/dev/pci/drm/radeon/radeon_device.c
+++ b/
sys/dev/pci/drm/radeon/radeon_device.c
@@
-1032,6
+1032,7
@@
void radeon_atombios_fini(struct radeon_device *rdev)
{
if (rdev->mode_info.atom_context) {
kfree(rdev->mode_info.atom_context->scratch);
+ kfree(rdev->mode_info.atom_context->iio);
}
kfree(rdev->mode_info.atom_context);
rdev->mode_info.atom_context = NULL;