diff --git a/src/intel/vulkan/anv_device.c b/src/intel/vulkan/anv_device.c index d4ebf940edb..60916444d23 100644 --- a/src/intel/vulkan/anv_device.c +++ b/src/intel/vulkan/anv_device.c @@ -2107,8 +2107,7 @@ anv_physical_device_init_queue_families(struct anv_physical_device *pdevice) intel_engines_count(pdevice->engine_info, INTEL_ENGINE_CLASS_VIDEO); int g_count = 0; int c_count = 0; - const bool kernel_supports_non_render_engines = - pdevice->info.kmd_type == INTEL_KMD_TYPE_XE || pdevice->has_vm_control; + const bool kernel_supports_non_render_engines = pdevice->has_vm_control; const bool sparse_supports_non_render_engines = pdevice->sparse_type != ANV_SPARSE_TYPE_TRTT; const bool can_use_non_render_engines = diff --git a/src/intel/vulkan/anv_private.h b/src/intel/vulkan/anv_private.h index 52b7d98df54..f1c273b8a65 100644 --- a/src/intel/vulkan/anv_private.h +++ b/src/intel/vulkan/anv_private.h @@ -1013,7 +1013,7 @@ struct anv_physical_device { /** True if we can create protected contexts. */ bool has_protected_contexts; - /** Whether the i915 driver has the ability to create VM objects */ + /** Whether KMD has the ability to create VM objects */ bool has_vm_control; /** True if we have the means to do sparse binding (e.g., a Kernel driver diff --git a/src/intel/vulkan/xe/anv_device.c b/src/intel/vulkan/xe/anv_device.c index a3879e6bf1a..9eabea31f52 100644 --- a/src/intel/vulkan/xe/anv_device.c +++ b/src/intel/vulkan/xe/anv_device.c @@ -86,6 +86,7 @@ anv_xe_physical_device_get_parameters(struct anv_physical_device *device) "unable to query device config"); device->has_exec_timeline = true; + device->has_vm_control = true; device->max_context_priority = drm_sched_priority_to_vk_priority(config->info[DRM_XE_QUERY_CONFIG_MAX_EXEC_QUEUE_PRIORITY]);