projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a9b9b42
)
nouveau/gsp: free userd allocation.
author
Dave Airlie
<airlied@gmail.com>
Fri, 22 Dec 2023 04:31:54 +0000
(14:31 +1000)
committer
Dave Airlie
<airlied@redhat.com>
Fri, 5 Jan 2024 02:27:53 +0000
(12:27 +1000)
This was being leaked.
Signed-off-by: Dave Airlie <airlied@redhat.com>
Link:
https://patchwork.freedesktop.org/patch/msgid/20231222043308.3090089-6-airlied@gmail.com
drivers/gpu/drm/nouveau/nvkm/engine/fifo/r535.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/nouveau/nvkm/engine/fifo/r535.c
b/drivers/gpu/drm/nouveau/nvkm/engine/fifo/r535.c
index d088e636edc31c407582bdbe8ab0ee28653956bf..b903785056b5de6df810a2c457ea90deb557dd69 100644
(file)
--- a/
drivers/gpu/drm/nouveau/nvkm/engine/fifo/r535.c
+++ b/
drivers/gpu/drm/nouveau/nvkm/engine/fifo/r535.c
@@
-242,6
+242,7
@@
r535_chan_id_put(struct nvkm_chan *chan)
nvkm_memory_unref(&userd->mem);
nvkm_chid_put(runl->chid, userd->chid, &chan->cgrp->lock);
list_del(&userd->head);
+ kfree(userd);
}
break;