From eb6d99014f027c3325024d6f3482f6427f254f13 Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Wed, 28 Apr 2021 09:03:34 +1000 Subject: [PATCH] lavapipe: mark event_storage as volatile This is spun on in cmd execution so make sure it doesn't get optimised or cached out. Fixes some timeouts in dEQP-VK.api.command_buffers.record_simul_use_primary Reviewed-By: Mike Blumenkrantz Part-of: --- src/gallium/frontends/lavapipe/lvp_private.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/frontends/lavapipe/lvp_private.h b/src/gallium/frontends/lavapipe/lvp_private.h index debca5e889c..440450542bc 100644 --- a/src/gallium/frontends/lavapipe/lvp_private.h +++ b/src/gallium/frontends/lavapipe/lvp_private.h @@ -480,7 +480,7 @@ struct lvp_pipeline { struct lvp_event { struct vk_object_base base; - uint64_t event_storage; + volatile uint64_t event_storage; }; struct lvp_fence {