mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 04:38:03 +02:00
vk: Only require wc bo mmap for !llc GPUs
This commit is contained in:
parent
b49aaf5de0
commit
220ac9337b
1 changed files with 2 additions and 1 deletions
|
|
@ -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…
Add table
Reference in a new issue