[Mesa-dev] [PATCH 08/10] anv/icl: Use gen11 functions

Anuj Phogat anuj.phogat at gmail.com
Fri Feb 16 01:44:12 UTC 2018


Signed-off-by: Anuj Phogat <anuj.phogat at gmail.com>
---
 src/intel/vulkan/anv_blorp.c  | 3 +++
 src/intel/vulkan/anv_device.c | 3 +++
 2 files changed, 6 insertions(+)

diff --git a/src/intel/vulkan/anv_blorp.c b/src/intel/vulkan/anv_blorp.c
index d38b343671..d98bf8364d 100644
--- a/src/intel/vulkan/anv_blorp.c
+++ b/src/intel/vulkan/anv_blorp.c
@@ -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");
    }
diff --git a/src/intel/vulkan/anv_device.c b/src/intel/vulkan/anv_device.c
index 2c2cd0b2d4..00b0b65333 100644
--- a/src/intel/vulkan/anv_device.c
+++ b/src/intel/vulkan/anv_device.c
@@ -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. */
-- 
2.13.6



More information about the mesa-dev mailing list