summaryrefslogtreecommitdiff
path: root/src/intel/vulkan/xe/anv_device.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/intel/vulkan/xe/anv_device.c')
-rw-r--r--src/intel/vulkan/xe/anv_device.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/intel/vulkan/xe/anv_device.c b/src/intel/vulkan/xe/anv_device.c
index dbb1e2e0ca0..de5b98afd16 100644
--- a/src/intel/vulkan/xe/anv_device.c
+++ b/src/intel/vulkan/xe/anv_device.c
@@ -37,8 +37,8 @@ bool anv_xe_device_destroy_vm(struct anv_device *device)
VkResult anv_xe_device_setup_vm(struct anv_device *device)
{
struct drm_xe_vm_create create = {
- .flags = DRM_XE_VM_CREATE_SCRATCH_PAGE |
- DRM_XE_VM_CREATE_ASYNC_BIND_OPS,
+ .flags = DRM_XE_VM_CREATE_ASYNC_DEFAULT |
+ DRM_XE_VM_CREATE_SCRATCH_PAGE,
};
if (intel_ioctl(device->fd, DRM_IOCTL_XE_VM_CREATE, &create) != 0)
return vk_errorf(device, VK_ERROR_INITIALIZATION_FAILED,
@@ -98,7 +98,7 @@ anv_xe_physical_device_get_parameters(struct anv_physical_device *device)
device->has_exec_timeline = true;
device->max_context_priority =
- drm_sched_priority_to_vk_priority(config->info[XE_QUERY_CONFIG_MAX_ENGINE_PRIORITY]);
+ drm_sched_priority_to_vk_priority(config->info[XE_QUERY_CONFIG_MAX_EXEC_QUEUE_PRIORITY]);
free(config);
return VK_SUCCESS;