mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 21:50:12 +01:00
anv: honor INTEL_DEBUG=sync
Useful debug option for hangs. Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Reviewed-by: Sagar Ghuge <sagar.ghuge@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13161>
This commit is contained in:
parent
c6b8702eb4
commit
9667539b96
1 changed files with 1 additions and 1 deletions
|
|
@ -927,7 +927,7 @@ anv_physical_device_try_create(struct anv_instance *instance,
|
|||
device->has_reg_timestamp = anv_gem_reg_read(fd, TIMESTAMP | I915_REG_READ_8B_WA,
|
||||
&u64_ignore) == 0;
|
||||
|
||||
device->always_flush_cache =
|
||||
device->always_flush_cache = (INTEL_DEBUG & DEBUG_SYNC) ||
|
||||
driQueryOptionb(&instance->dri_options, "always_flush_cache");
|
||||
|
||||
device->has_mmap_offset =
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue