vk: Only require wc bo mmap for !llc GPUs

This commit is contained in:
Kristian Høgsberg Kristensen 2015-12-19 22:25:57 -08:00
parent b49aaf5de0
commit 220ac9337b
1 changed files with 2 additions and 1 deletions

View File

@ -119,7 +119,8 @@ anv_physical_device_init(struct anv_physical_device *device,
goto fail;
}
if (anv_gem_get_param(fd, I915_PARAM_MMAP_VERSION) < 1) {
if (!device->info->has_llc &&
anv_gem_get_param(fd, I915_PARAM_MMAP_VERSION) < 1) {
result = vk_errorf(VK_ERROR_INITIALIZATION_FAILED,
"kernel missing wc mmap");
goto fail;