diff --git a/src/broadcom/vulkan/v3dv_device.c b/src/broadcom/vulkan/v3dv_device.c index 7be8b137107..8f8f39e7735 100644 --- a/src/broadcom/vulkan/v3dv_device.c +++ b/src/broadcom/vulkan/v3dv_device.c @@ -2104,11 +2104,9 @@ v3dv_CreateDevice(VkPhysicalDevice physicalDevice, device->device_address_mem_ctx); mtx_init(&device->events.lock, mtx_plain); - if (!device->events.bo) { - result = v3dv_event_allocate_resources(device); - if (result != VK_SUCCESS) - goto fail; - } + result = v3dv_event_allocate_resources(device); + if (result != VK_SUCCESS) + goto fail; if (list_is_empty(&device->events.free_list)) { result = vk_error(device, VK_ERROR_OUT_OF_DEVICE_MEMORY);