etnaviv: add basic infrastructure for hw queries
authorChristian Gmeiner <christian.gmeiner@gmail.com>
Thu, 19 Oct 2017 21:12:45 +0000 (23:12 +0200)
committerChristian Gmeiner <christian.gmeiner@gmail.com>
Fri, 20 Oct 2017 10:42:40 +0000 (12:42 +0200)
commit282d8698ec4d792a8eeb1a4b1cd8c85b4fd8ac8d
tree205dc53696979fcfc27bf0b9dd36f6fa2e416b5b
parentb8c335c91b67e6bf2fa7b81fa3fb1a71c9dc540a
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 <christian.gmeiner@gmail.com>
Reviewed-by: Wladimir J. van der Laan <laanwj@gmail.com>
src/gallium/drivers/etnaviv/Makefile.sources
src/gallium/drivers/etnaviv/etnaviv_context.c
src/gallium/drivers/etnaviv/etnaviv_context.h
src/gallium/drivers/etnaviv/etnaviv_query.c
src/gallium/drivers/etnaviv/etnaviv_query_hw.c [new file with mode: 0644]
src/gallium/drivers/etnaviv/etnaviv_query_hw.h [new file with mode: 0644]