projects
/
platform
/
upstream
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9eba1d9
)
venus: fix a device memory report leak
author
Yiwei Zhang
<zzyiwei@chromium.org>
Tue, 12 Sep 2023 08:36:50 +0000
(
01:36
-0700)
committer
Marge Bot
<emma+marge@anholt.net>
Tue, 12 Sep 2023 19:28:46 +0000
(19:28 +0000)
Fixes:
f70a08bc60f
("venus: handle device memory report requests")
Signed-off-by: Yiwei Zhang <zzyiwei@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25176>
src/virtio/vulkan/vn_device.c
patch
|
blob
|
history
diff --git
a/src/virtio/vulkan/vn_device.c
b/src/virtio/vulkan/vn_device.c
index
60bb0ad
..
c5cace6
100644
(file)
--- a/
src/virtio/vulkan/vn_device.c
+++ b/
src/virtio/vulkan/vn_device.c
@@
-603,6
+603,8
@@
vn_DestroyDevice(VkDevice device, const VkAllocationCallbacks *pAllocator)
vn_device_queue_family_fini(dev);
+ vn_device_memory_report_fini(dev);
+
/* We must emit vkDestroyDevice before freeing dev->queues. Otherwise,
* another thread might reuse their object ids while they still refer to
* the queues in the renderer.