From b75da97a1d9a5b994a69d8a35db8798cec76427e Mon Sep 17 00:00:00 2001 From: Paulo Zanoni Date: Mon, 14 Aug 2023 09:41:11 -0700 Subject: [PATCH] anv: enable sparse resources by default This of course only applies to xe.ko. There is no reason to keep it disabled by default. Reviewed-by: Lionel Landwerlin Signed-off-by: Paulo Zanoni Part-of: --- src/intel/vulkan/anv_device.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/intel/vulkan/anv_device.c b/src/intel/vulkan/anv_device.c index 292dcb65670..4c3798971db 100644 --- a/src/intel/vulkan/anv_device.c +++ b/src/intel/vulkan/anv_device.c @@ -1398,7 +1398,7 @@ anv_physical_device_try_create(struct vk_instance *vk_instance, device->uses_relocs = device->info.kmd_type != INTEL_KMD_TYPE_XE; device->has_sparse = device->info.kmd_type == INTEL_KMD_TYPE_XE && - debug_get_bool_option("ANV_SPARSE", false); + debug_get_bool_option("ANV_SPARSE", true); device->always_flush_cache = INTEL_DEBUG(DEBUG_STALL) || driQueryOptionb(&instance->dri_options, "always_flush_cache");