From: Jason Ekstrand Date: Fri, 9 Jun 2017 00:10:05 +0000 (-0700) Subject: anv: Don't advertise support on anything above gen9 X-Git-Tag: upstream/18.1.0~8928 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f2cbf738b4d4d51127c7a43952ed2660a9670f40;p=platform%2Fupstream%2Fmesa.git anv: Don't advertise support on anything above gen9 This will prevent the driver from even trying to work on Cannon Lake until we get actual support added. Reviewed-by: Anuj Phogat --- diff --git a/src/intel/vulkan/anv_device.c b/src/intel/vulkan/anv_device.c index 72a96b7..8e8c502 100644 --- a/src/intel/vulkan/anv_device.c +++ b/src/intel/vulkan/anv_device.c @@ -293,7 +293,7 @@ anv_physical_device_init(struct anv_physical_device *device, fprintf(stderr, "WARNING: Ivy Bridge Vulkan support is incomplete\n"); } else if (device->info.gen == 7 && device->info.is_baytrail) { fprintf(stderr, "WARNING: Bay Trail Vulkan support is incomplete\n"); - } else if (device->info.gen >= 8) { + } else if (device->info.gen >= 8 && device->info.gen <= 9) { /* Broadwell, Cherryview, Skylake, Broxton, Kabylake is as fully * supported as anything */ } else {