anv/icl: Use gen11 functions
authorAnuj Phogat <anuj.phogat@gmail.com>
Fri, 26 May 2017 19:32:23 +0000 (12:32 -0700)
committerAnuj Phogat <anuj.phogat@gmail.com>
Fri, 16 Feb 2018 19:10:32 +0000 (11:10 -0800)
Signed-off-by: Anuj Phogat <anuj.phogat@gmail.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/intel/vulkan/anv_blorp.c
src/intel/vulkan/anv_device.c

index d38b343671fea5694a850631ad8dc2a0a37f15b6..d98bf8364decf0757dcf6693b8edcece6c2ba9d5 100644 (file)
@@ -111,6 +111,9 @@ anv_device_init_blorp(struct anv_device *device)
    case 10:
       device->blorp.exec = gen10_blorp_exec;
       break;
+   case 11:
+      device->blorp.exec = gen11_blorp_exec;
+      break;
    default:
       unreachable("Unknown hardware generation");
    }
index 2c2cd0b2d42a305eb66e4494886c017f6db58fb7..00b0b6533335721f7e43b813aa25ad1ec806e41a 100644 (file)
@@ -1482,6 +1482,9 @@ VkResult anv_CreateDevice(
    case 10:
       result = gen10_init_device_state(device);
       break;
+   case 11:
+      result = gen11_init_device_state(device);
+      break;
    default:
       /* Shouldn't get here as we don't create physical devices for any other
        * gens. */