From 16a835ed3d4ed4edf7ebb31d04fe549226bc8492 Mon Sep 17 00:00:00 2001 From: Jordan Justen Date: Tue, 3 Sep 2024 13:44:56 -0700 Subject: [PATCH] anv: Drop "not yet supported" warning for Xe2 Backport-to: 24.2 Signed-off-by: Jordan Justen Reviewed-by: Sagar Ghuge Part-of: --- src/intel/vulkan/anv_physical_device.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/intel/vulkan/anv_physical_device.c b/src/intel/vulkan/anv_physical_device.c index 5c07a6c9793..6764b1ec5ec 100644 --- a/src/intel/vulkan/anv_physical_device.c +++ b/src/intel/vulkan/anv_physical_device.c @@ -2253,9 +2253,7 @@ anv_physical_device_try_create(struct vk_instance *vk_instance, goto fail_fd; } - if (devinfo.ver == 20) { - mesa_logw("Vulkan not yet supported on %s", devinfo.name); - } else if (devinfo.ver > 12) { + if (devinfo.ver > 20) { result = vk_errorf(instance, VK_ERROR_INCOMPATIBLE_DRIVER, "Vulkan not yet supported on %s", devinfo.name); goto fail_fd;