mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-04-21 22:50:37 +02:00
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 <lionel.g.landwerlin@intel.com> Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23045>
This commit is contained in:
parent
7e2d8cced3
commit
b75da97a1d
1 changed files with 1 additions and 1 deletions
|
|
@ -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");
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue