nvk: Use a coherent map for the event heap

Events are synchronization objects.  They really need to be coherent.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33959>
This commit is contained in:
Faith Ekstrand
2025-03-08 22:01:17 -06:00
parent 870d3f1636
commit 4d04baba7d
+2 -1
View File
@@ -249,7 +249,8 @@ nvk_CreateDevice(VkPhysicalDevice physicalDevice,
goto fail_edb_bview_cache;
result = nvk_heap_init(dev, &dev->event_heap,
NVKMD_MEM_LOCAL, NVKMD_MEM_MAP_WR,
NVKMD_MEM_LOCAL | NVKMD_MEM_COHERENT,
NVKMD_MEM_MAP_WR,
0 /* overalloc */, false /* contiguous */);
if (result != VK_SUCCESS)
goto fail_shader_heap;