From 7901b536ee012a98343e2acdf017085029c59139 Mon Sep 17 00:00:00 2001 From: Sagar Ghuge Date: Thu, 7 Sep 2023 23:42:31 -0700 Subject: [PATCH] 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 Reviewed-by: Lionel Landwerlin Part-of: --- src/gallium/drivers/iris/iris_screen.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/drivers/iris/iris_screen.c b/src/gallium/drivers/iris/iris_screen.c index db88da2..2ae543c 100644 --- a/src/gallium/drivers/iris/iris_screen.c +++ b/src/gallium/drivers/iris/iris_screen.c @@ -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"); -- 2.7.4