mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 09:08:10 +02:00
panvk: catch unsupported arch in the panvk_physical_device_init
Suggested-by: Boris Brezillon <boris.brezillon@collabora.com> Signed-off-by: David Heidelberg <david.heidelberg@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24201>
This commit is contained in:
parent
deb17db38e
commit
78ec03b3ba
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue