vk: Only require wc bo mmap for !llc GPUs
This commit is contained in:
parent
b49aaf5de0
commit
220ac9337b
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue