diff --git a/src/panfrost/vulkan/panvk_physical_device.c b/src/panfrost/vulkan/panvk_physical_device.c index 32e73eec1b1..608447bccd6 100644 --- a/src/panfrost/vulkan/panvk_physical_device.c +++ b/src/panfrost/vulkan/panvk_physical_device.c @@ -439,7 +439,12 @@ get_device_properties(const struct panvk_instance *instance, * requirements. */ .maxPushConstantsSize = 128, - /* There's no HW limit here. Should we advertize something smaller? */ + /* On our kernel drivers we're limited by the available memory rather + * than available allocations. This is better expressed through memory + * properties and budget queries, and by returning + * VK_ERROR_OUT_OF_DEVICE_MEMORY when applicable, rather than + * this limit. + */ .maxMemoryAllocationCount = UINT32_MAX, /* Again, no hardware limit, but most drivers seem to advertive 64k. */ .maxSamplerAllocationCount = 64 * 1024,