From 78ec03b3ba65d221c78930e87616eef53f0fcf6c Mon Sep 17 00:00:00 2001 From: David Heidelberg Date: Tue, 29 Aug 2023 14:02:03 +0200 Subject: [PATCH] panvk: catch unsupported arch in the panvk_physical_device_init Suggested-by: Boris Brezillon Signed-off-by: David Heidelberg Part-of: --- src/panfrost/vulkan/panvk_device.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/panfrost/vulkan/panvk_device.c b/src/panfrost/vulkan/panvk_device.c index 34070d6..f242e79 100644 --- a/src/panfrost/vulkan/panvk_device.c +++ b/src/panfrost/vulkan/panvk_device.c @@ -449,7 +449,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 || device->pdev.arch >= 8) { result = vk_errorf(instance, VK_ERROR_INCOMPATIBLE_DRIVER, "%s not supported", device->pdev.model->name); goto fail; -- 2.7.4