Module: Mesa Branch: main Commit: 6c286edc535d2769a6de071c700b33d44a63e056 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=6c286edc535d2769a6de071c700b33d44a63e056
Author: Boris Brezillon <[email protected]> Date: Mon Sep 6 16:29:48 2021 +0200 panvk: Disable the BO cache This makes it easier to debug memory leaks, and we probably want to rely on vulkan caches anyway, so let's just disable the BO cache. Signed-off-by: Boris Brezillon <[email protected]> Reviewed-by: Tomeu Vizoso <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12762> --- src/panfrost/vulkan/panvk_device.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/panfrost/vulkan/panvk_device.c b/src/panfrost/vulkan/panvk_device.c index 8c10d8ccc60..8254954f9d6 100644 --- a/src/panfrost/vulkan/panvk_device.c +++ b/src/panfrost/vulkan/panvk_device.c @@ -304,6 +304,7 @@ panvk_physical_device_init(struct panvk_physical_device *device, if (instance->debug_flags & PANVK_DEBUG_TRACE) device->pdev.debug |= PAN_DBG_TRACE; + device->pdev.debug |= PAN_DBG_NO_CACHE; panfrost_open_device(NULL, fd, &device->pdev); fd = -1;
