projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
90e2e96
)
drm/nouveau/mmu: fix comptag memory leak
author
Ben Skeggs
<bskeggs@redhat.com>
Wed, 22 Jan 2020 22:23:06 +0000
(08:23 +1000)
committer
Ben Skeggs
<bskeggs@redhat.com>
Wed, 22 Jan 2020 22:56:51 +0000
(08:56 +1000)
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nvkm/core/memory.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/nouveau/nvkm/core/memory.c
b/drivers/gpu/drm/nouveau/nvkm/core/memory.c
index e85a08ecd9da578d51fd778f171ea07e55bf9bb1..4cc186262d3441fa051b8be0514ee453eb568d7b 100644
(file)
--- a/
drivers/gpu/drm/nouveau/nvkm/core/memory.c
+++ b/
drivers/gpu/drm/nouveau/nvkm/core/memory.c
@@
-91,8
+91,8
@@
nvkm_memory_tags_get(struct nvkm_memory *memory, struct nvkm_device *device,
}
refcount_set(&tags->refcount, 1);
+ *ptags = memory->tags = tags;
mutex_unlock(&fb->subdev.mutex);
- *ptags = tags;
return 0;
}