From c71d44c7f845a9ef23251d9a0c95267f4a711578 Mon Sep 17 00:00:00 2001 From: Lionel Landwerlin Date: Fri, 20 Oct 2017 18:49:30 +0100 Subject: [PATCH] anv: don't assert on device init on Cannonlake v2: Warn that support is still in alpha (Jason) Signed-off-by: Lionel Landwerlin Reviewed-by: Jason Ekstrand --- src/intel/vulkan/anv_device.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/intel/vulkan/anv_device.c b/src/intel/vulkan/anv_device.c index a305afebc32..67028e8da9f 100644 --- a/src/intel/vulkan/anv_device.c +++ b/src/intel/vulkan/anv_device.c @@ -300,8 +300,10 @@ anv_physical_device_init(struct anv_physical_device *device, } else if (device->info.gen == 7 && device->info.is_baytrail) { intel_logw("Bay Trail Vulkan support is incomplete"); } else if (device->info.gen >= 8 && device->info.gen <= 9) { - /* Broadwell, Cherryview, Skylake, Broxton, Kabylake is as fully - * supported as anything */ + /* Broadwell, Cherryview, Skylake, Broxton, Kabylake, Coffelake is as + * fully supported as anything */ + } else if (device->info.gen == 10) { + intel_logw("Cannonlake Vulkan support is alpha"); } else { result = vk_errorf(device->instance, device, VK_ERROR_INCOMPATIBLE_DRIVER, -- 2.30.2