[Mesa-dev] [PATCH] anv: Don't advertise support on anything above gen9

Jason Ekstrand jason at jlekstrand.net
Fri Jun 9 00:10:05 UTC 2017


This will prevent the driver from even trying to work on Cannon Lake
until we get actual support added.

Cc: Anuj Phogat <anuj.phogat at gmail.com>
---
 src/intel/vulkan/anv_device.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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 {
-- 
2.5.0.400.gff86faf



More information about the mesa-dev mailing list