iris: Enable always flush cache with DEBUG_STALL option
With DEBUG_STALL option, enable always cache flush option for debugging purpose that aligns with anv. Signed-off-by: Sagar Ghuge <sagar.ghuge@intel.com> Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25108>
This commit is contained in:
@@ -863,7 +863,7 @@ iris_screen_create(int fd, const struct pipe_screen_config *config)
|
||||
driQueryOptionb(config->options, "dual_color_blend_by_location");
|
||||
screen->driconf.disable_throttling =
|
||||
driQueryOptionb(config->options, "disable_throttling");
|
||||
screen->driconf.always_flush_cache =
|
||||
screen->driconf.always_flush_cache = INTEL_DEBUG(DEBUG_STALL) ||
|
||||
driQueryOptionb(config->options, "always_flush_cache");
|
||||
screen->driconf.sync_compile =
|
||||
driQueryOptionb(config->options, "sync_compile");
|
||||
|
||||
Reference in New Issue
Block a user