anv/icl: Use gen11 functions

Signed-off-by: Anuj Phogat <anuj.phogat@gmail.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
This commit is contained in:
Anuj Phogat
2017-05-26 12:32:23 -07:00
parent 9673c21d4f
commit cd7102972f
2 changed files with 6 additions and 0 deletions

View 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");
}

View 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. */