projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
409d659
)
drm/nouveau/fault/gv100-: fix memory leak on module unload
author
Ben Skeggs
<bskeggs@redhat.com>
Tue, 14 Jan 2020 20:34:21 +0000
(06:34 +1000)
committer
Ben Skeggs
<bskeggs@redhat.com>
Wed, 15 Jan 2020 00:50:25 +0000
(10:50 +1000)
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nvkm/subdev/fault/base.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/nouveau/nvkm/subdev/fault/base.c
b/drivers/gpu/drm/nouveau/nvkm/subdev/fault/base.c
index
1c4b852
..
f6dca97
100644
(file)
--- a/
drivers/gpu/drm/nouveau/nvkm/subdev/fault/base.c
+++ b/
drivers/gpu/drm/nouveau/nvkm/subdev/fault/base.c
@@
-146,6
+146,7
@@
nvkm_fault_dtor(struct nvkm_subdev *subdev)
struct nvkm_fault *fault = nvkm_fault(subdev);
int i;
+ nvkm_notify_fini(&fault->nrpfb);
nvkm_event_fini(&fault->event);
for (i = 0; i < fault->buffer_nr; i++) {