panvk: Return VK_ERROR_INCOMPATIBLE_DRIVER for Midgard

Midgard is unsupported after merge of !16915

Signed-off-by: Denis Pauk <pauk.denis@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16991>
This commit is contained in:
Denis Pauk
2022-06-10 23:04:10 +03:00
committed by Marge Bot
parent c43882ad54
commit 79b88852c8
+1 -1
View File
@@ -327,7 +327,7 @@ panvk_physical_device_init(struct panvk_physical_device *device,
panfrost_open_device(NULL, fd, &device->pdev);
fd = -1;
if (device->pdev.arch < 5) {
if (device->pdev.arch <= 5) {
result = vk_errorf(instance, VK_ERROR_INCOMPATIBLE_DRIVER,
"%s not supported",
device->pdev.model->name);