summaryrefslogtreecommitdiffstats
path: root/src/intel
diff options
context:
space:
mode:
authorAnuj Phogat <[email protected]>2017-05-26 12:32:23 -0700
committerAnuj Phogat <[email protected]>2018-02-16 11:10:32 -0800
commitcd7102972f91144be6b4fe64465fc24e817920d9 (patch)
treed85995298ea4a0f3afdcd4112d4e9373c769d1e1 /src/intel
parent9673c21d4f6d251a2e2e35f372b4caa17591d926 (diff)
anv/icl: Use gen11 functions
Signed-off-by: Anuj Phogat <[email protected]> Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src/intel')
-rw-r--r--src/intel/vulkan/anv_blorp.c3
-rw-r--r--src/intel/vulkan/anv_device.c3
2 files changed, 6 insertions, 0 deletions
diff --git a/src/intel/vulkan/anv_blorp.c b/src/intel/vulkan/anv_blorp.c
index d38b343671f..d98bf8364de 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 2c2cd0b2d42..00b0b653333 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. */