mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 17:20:10 +01:00
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 <boris.brezillon@collabora.com> Reviewed-by: Tomeu Vizoso <tomeu.vizoso@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12762>
This commit is contained in:
parent
ef48b6c4d0
commit
6c286edc53
1 changed files with 1 additions and 0 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue