summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/etnaviv/etnaviv_query.h
diff options
context:
space:
mode:
authorChristian Gmeiner <[email protected]>2018-03-25 22:29:56 +0200
committerChristian Gmeiner <[email protected]>2018-04-08 22:20:25 +0200
commit72d2043be06c4b0135177482ae95aa321286cc17 (patch)
tree41eeac61a3981e57e328a7c9473b003a11c459c1 /src/gallium/drivers/etnaviv/etnaviv_query.h
parent7e3dba301ebbd5d0d9eab7fdac5827559e482c1c (diff)
etnaviv: add perfmon query implementation
Add needed infrastructure to use performance monitor requests for queries. Signed-off-by: Christian Gmeiner <[email protected]> Tested-by: Chris Healy <[email protected]>
Diffstat (limited to 'src/gallium/drivers/etnaviv/etnaviv_query.h')
-rw-r--r--src/gallium/drivers/etnaviv/etnaviv_query.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/etnaviv/etnaviv_query.h b/src/gallium/drivers/etnaviv/etnaviv_query.h
index 89272660576..d738fb9e814 100644
--- a/src/gallium/drivers/etnaviv/etnaviv_query.h
+++ b/src/gallium/drivers/etnaviv/etnaviv_query.h
@@ -54,6 +54,7 @@ etna_query(struct pipe_query *pq)
}
#define ETNA_SW_QUERY_BASE (PIPE_QUERY_DRIVER_SPECIFIC + 0)
+#define ETNA_PM_QUERY_BASE (PIPE_QUERY_DRIVER_SPECIFIC + 32)
void
etna_query_screen_init(struct pipe_screen *pscreen);