mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 10:50:10 +01:00
vk: Fix check for I915_PARAM_MMAP_VERSION
Comparing the wrong thing for < 1.
This commit is contained in:
parent
5e82a91324
commit
8ac46d84ff
1 changed files with 1 additions and 1 deletions
|
|
@ -119,7 +119,7 @@ anv_physical_device_init(struct anv_physical_device *device,
|
|||
goto fail;
|
||||
}
|
||||
|
||||
if (anv_gem_get_param(fd, I915_PARAM_MMAP_VERSION < 1)) {
|
||||
if (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