anv: Print warning that Xe2 is not supported rather than failing
authorJordan Justen <jordan.l.justen@intel.com>
Thu, 8 Sep 2022 08:37:04 +0000 (01:37 -0700)
committerMarge Bot <emma+marge@anholt.net>
Wed, 27 Sep 2023 21:11:18 +0000 (21:11 +0000)
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25411>

src/intel/vulkan/anv_device.c

index 583930e..b83d38b 100644 (file)
@@ -1259,7 +1259,9 @@ anv_physical_device_try_create(struct vk_instance *vk_instance,
       goto fail_fd;
    }
 
-   if (devinfo.ver > 12) {
+   if (devinfo.ver == 20) {
+      mesa_logw("Vulkan not yet supported on %s", devinfo.name);
+   } else if (devinfo.ver > 12) {
       result = vk_errorf(instance, VK_ERROR_INCOMPATIBLE_DRIVER,
                          "Vulkan not yet supported on %s", devinfo.name);
       goto fail_fd;