From 282d8698ec4d792a8eeb1a4b1cd8c85b4fd8ac8d Mon Sep 17 00:00:00 2001 From: Christian Gmeiner Date: Thu, 19 Oct 2017 23:12:45 +0200 Subject: etnaviv: add basic infrastructure for hw queries No hardware query is supported yet. v1 -> v2 - removed query_type from strcut etna_hw_sample_provider Signed-off-by: Christian Gmeiner Reviewed-by: Wladimir J. van der Laan --- src/gallium/drivers/etnaviv/etnaviv_context.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/gallium/drivers/etnaviv/etnaviv_context.h') diff --git a/src/gallium/drivers/etnaviv/etnaviv_context.h b/src/gallium/drivers/etnaviv/etnaviv_context.h index bf2b265f5ee..2903e0963d5 100644 --- a/src/gallium/drivers/etnaviv/etnaviv_context.h +++ b/src/gallium/drivers/etnaviv/etnaviv_context.h @@ -180,6 +180,9 @@ struct etna_context { struct pipe_debug_callback debug; int in_fence_fd; + + /* list of active hardware queries */ + struct list_head active_hw_queries; }; static inline struct etna_context * -- cgit v1.2.3