mesa/src
Lionel Landwerlin 2001a80d4a anv: Implement VK_KHR_performance_query
This has the same kernel requirements are VK_INTEL_performance_query

v2: Fix empty queue submit (Lionel)

v3: Fix autotool build issue (Piotr Byszewski)

v4: Fix Reset & Begin/End in same command buffer, using soft-pin &
    relocation on the same buffer won't work currently. This version
    uses a somewhat dirty trick in anv_execbuf_add_bo (Piotr Byszewski)

v5: Fix enumeration with null pointers for either pCounters or
    pCounterDescriptions (Piotr)
    Fix return condition on enumeration (Lionel)
    Set counter uuid using sha1 hashes (Lionel)

v6: Fix counters scope, should be COMMAND_KHR not COMMAND_BUFFER_KHR (Lionel)

v7: Rebase (Lionel)

v8: Rework checking for loaded queries (Lionel)

v9: Use new i915-perf interface

v10: Use anv_multialloc (Jason)

v11: Implement perf query passes using self modifying batches (Lionel)
     Limit support to softpin/gen8

v12: Remove spurious changes (Jason)

v13: Drop relocs (Jason)

v14: Avoid overwritting .sType in
     VkPerformanceCounterKHR/VkPerformanceCounterDescriptionKHR (Lionel)

v15: Don't copy the entire
     VkPerformanceCounterKHR/VkPerformanceCounterDescriptionKHR (Jason)
     Reuse anv_batch rather than custom packing (Jason)

v16: Fix missing MI_BB_END in reconfiguration batch
     Only report the extension with kernel support (perf_version >= 3)

v17: Some cleanup of unused stuff

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/2775>
2020-05-20 14:02:27 +03:00
..
amd radv/winsys: Finish mapping for sparse residency. 2020-05-19 19:17:35 +00:00
broadcom v3d/tex: use TMUSLOD register if possible 2020-05-11 23:52:46 +00:00
compiler nir: Add const to nir_intrinsic_src_components 2020-05-19 20:45:55 +00:00
drm-shim drm-shim: silence warnings 2020-04-30 11:32:54 +03:00
egl Expose EGL_KHR_platform_* when EXT is supported 2020-05-19 16:41:54 +00:00
etnaviv etnaviv: drm: Normalize nano seconds 2020-05-10 07:32:12 +00:00
freedreno tu: Support VK_FORMAT_FEATURE_BLIT_SRC_BIT for texture-only formats 2020-05-19 19:55:11 +00:00
gallium intel/perf: make pipeline statistic query loading optional 2020-05-20 14:02:27 +03:00
gbm gbm/dri: Propagate queryDmaBufModifiers return value 2020-04-16 10:19:35 +00:00
getopt meson: build getopt when using msvc 2019-09-10 20:36:47 +00:00
glx glx: omit loader_loader() for macOS 2020-04-15 11:37:21 +00:00
gtest gtest: Update to 1.10.0 2020-04-20 11:57:11 +00:00
hgl scons: Prune out unnecessary targets. 2020-03-30 13:38:01 +00:00
imgui meson: drop intel_ prefix on imgui_core 2019-12-10 15:16:02 +00:00
intel anv: Implement VK_KHR_performance_query 2020-05-20 14:02:27 +03:00
loader loader: fallback to kernel name, if PCI fails 2020-04-01 16:57:22 +01:00
mapi glthread: stop using GLenum16 to get correct GL errors for out-of-bounds enums 2020-05-13 20:10:42 +00:00
mesa intel/perf: make pipeline statistic query loading optional 2020-05-20 14:02:27 +03:00
panfrost pan/mdg: Apply outmods 2020-05-19 20:21:28 +00:00
util util/rand_xor: extend the urandom path to all non-Windows platforms 2020-05-16 12:05:37 +00:00
vulkan vulkan: import common code for generating extensions 2020-05-13 08:45:23 +02:00
meson.build remove final imports.h and imports.c bits 2020-04-21 11:09:04 -07:00
SConscript scons: Prune out unnecessary targets. 2020-03-30 13:38:01 +00:00