diff options
author | Christian Gmeiner <[email protected]> | 2018-03-25 22:29:56 +0200 |
---|---|---|
committer | Christian Gmeiner <[email protected]> | 2018-04-08 22:20:25 +0200 |
commit | 72d2043be06c4b0135177482ae95aa321286cc17 (patch) | |
tree | 41eeac61a3981e57e328a7c9473b003a11c459c1 /src/gallium/drivers/etnaviv/etnaviv_screen.h | |
parent | 7e3dba301ebbd5d0d9eab7fdac5827559e482c1c (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_screen.h')
-rw-r--r-- | src/gallium/drivers/etnaviv/etnaviv_screen.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gallium/drivers/etnaviv/etnaviv_screen.h b/src/gallium/drivers/etnaviv/etnaviv_screen.h index dc57a38dbb8..bffd4b6ef94 100644 --- a/src/gallium/drivers/etnaviv/etnaviv_screen.h +++ b/src/gallium/drivers/etnaviv/etnaviv_screen.h @@ -29,11 +29,13 @@ #define H_ETNAVIV_SCREEN #include "etnaviv_internal.h" +#include "etnaviv_query_pm.h" #include "os/os_thread.h" #include "pipe/p_screen.h" #include "renderonly/renderonly.h" #include "util/slab.h" +#include "util/u_dynarray.h" struct etna_bo; @@ -65,8 +67,10 @@ struct etna_screen { struct etna_device *dev; struct etna_gpu *gpu; struct etna_pipe *pipe; + struct etna_perfmon *perfmon; struct renderonly *ro; + struct util_dynarray supported_pm_queries; struct slab_parent_pool transfer_pool; uint32_t model; |