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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user