This v2 of my earlier queries series fixes the bugs found by reviewers and the CTS. It now passes 100% of the CTS tests. New "features" include:
- Clip statistics are now enabled - VF statistics are disabled for blits and gpu memcpy operations (other pipeline statistics were already disabled) so pipeline statistics queries only include drawing from the client. - No longer asserting when you try to make a pipeline statistics query pool (I did my dev work in release mode) - Inherited queries are now enabled Ilia Mirkin (1): anv: Implement pipeline statistics queries Jason Ekstrand (15): anv/query: Fix the location of timestamp availability anv/query: Invalidate the correct range anv/GetQueryPoolResults: Actually implement the spec genxml: Make MI_STORE_DATA_IMM have a single 64-bit data field anv/query: Let 32-bit values wrap anv/query: Move the available bits to the front anv/query: Use a variable-length slot size anv/query: Add a helper for writing a query pool result genxml: Add pipeline statistics registers on gen7+ anv/query: Break GPU query calculation into a helper anv/query: Rework store_query_result genxml: s/Clipper Statistics Enable/Statistics Enable/ anv/pipeline: Enable clipper statistics anv: Disable VF statistics for blorp and SOL memcpy anv: Turn on inherited queries src/intel/genxml/gen6.xml | 5 +- src/intel/genxml/gen7.xml | 49 ++++- src/intel/genxml/gen75.xml | 49 ++++- src/intel/genxml/gen8.xml | 49 ++++- src/intel/genxml/gen9.xml | 49 ++++- src/intel/vulkan/TODO | 1 - src/intel/vulkan/anv_device.c | 4 +- src/intel/vulkan/anv_private.h | 10 +- src/intel/vulkan/genX_blorp_exec.c | 5 + src/intel/vulkan/genX_gpu_memcpy.c | 4 + src/intel/vulkan/genX_pipeline.c | 10 + src/intel/vulkan/genX_query.c | 436 +++++++++++++++++++++++++++++-------- src/intel/vulkan/genX_state.c | 3 - 13 files changed, 554 insertions(+), 120 deletions(-) -- 2.5.0.400.gff86faf _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev