summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/etnaviv/etnaviv_context.h
diff options
context:
space:
mode:
authorChristian Gmeiner <[email protected]>2017-10-19 23:12:45 +0200
committerChristian Gmeiner <[email protected]>2017-10-20 12:42:40 +0200
commit282d8698ec4d792a8eeb1a4b1cd8c85b4fd8ac8d (patch)
tree205dc53696979fcfc27bf0b9dd36f6fa2e416b5b /src/gallium/drivers/etnaviv/etnaviv_context.h
parentb8c335c91b67e6bf2fa7b81fa3fb1a71c9dc540a (diff)
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 <[email protected]> Reviewed-by: Wladimir J. van der Laan <[email protected]>
Diffstat (limited to 'src/gallium/drivers/etnaviv/etnaviv_context.h')
-rw-r--r--src/gallium/drivers/etnaviv/etnaviv_context.h3
1 files changed, 3 insertions, 0 deletions
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 *