mesa/src
José Roberto de Souza a38a98c4cb intel/perf: Extend intel_perf_stream_set_metrics_id() to syncronize metrics id changes
Xe KMD added a uAPI to syncronze metrics id changes, so we can make
it wait for all previous workloads in exec_queue and all previous
metrics id changes to finish before start change it again.
This should make Vulkan queries more robust.

So this makes use of intel_bind_timeline to syncronize the metrics id
changes and xe_queue_get_syncobj_for_idle() to syncronize with
exec_queue.

As i915 and some versions of Xe KMD will not support it, this feature
will only be used then intel_bind_timeline parameter is not NULL and
timeline has a valid syncobj id.
At this patch level all callers will set it to NULL, next patch will
add and initialize timeline in ANV when supported by Xe KMD.

Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Signed-off-by: José Roberto de Souza <jose.souza@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31283>
2024-11-05 19:25:53 +00:00
..
amd radv: cleanup tools related resources when destroying logical device 2024-11-05 15:31:00 +00:00
android_stub vulkan/android: Add helper to probe AHB support 2024-05-14 14:53:44 +00:00
asahi asahi/clc: ingest spir-v 2024-11-01 13:25:37 -07:00
broadcom Uprev Piglit to c2b31333926a6171c3c02d182b756efad7770410 2024-10-30 18:11:56 +00:00
c11 build: pass licensing information in SPDX form 2024-06-29 12:42:49 -07:00
compiler nir: add nir_clear_divergence_info, use it in nir_opt_varyings 2024-11-05 14:13:40 +00:00
drm-shim drm-shim: stub synobj_timeline_wait and query ioctl 2024-07-16 11:17:59 +02:00
egl egl: error out during setup if the configuration is invalid 2024-10-29 17:25:08 +00:00
etnaviv etnaviv: isa: Add img_store instruction 2024-10-23 07:58:04 +00:00
freedreno freedreno/ci: convert a630-gles-asan to toml suite 2024-11-04 13:14:23 -08:00
gallium radeonsi/vcn: Rework encode padding and session init params 2024-11-05 18:53:16 +00:00
gbm gbm/dri: Fix color format for big endian. 2024-10-25 14:18:24 +00:00
getopt build: pass licensing information in SPDX form 2024-06-29 12:42:49 -07:00
gfxstream gfxstream: move generate-gfxstream-vulkan.sh script 2024-10-22 18:36:16 +00:00
glx glx: Fix the GLX_EXT_swap_control_tear drawable attributes 2024-10-23 19:55:53 +00:00
gtest build: pass licensing information in SPDX form 2024-06-29 12:42:49 -07:00
imagination pvr: Make Vulkan driver depend only on nir headers, not library 2024-10-23 16:47:34 +00:00
imgui
intel intel/perf: Extend intel_perf_stream_set_metrics_id() to syncronize metrics id changes 2024-11-05 19:25:53 +00:00
loader loader: Fix typo in __DRI_IMAGE_FORMAT_XBGR16161616 definition 2024-10-25 14:18:24 +00:00
mapi meson: remove selinux option 2024-10-21 01:14:35 +00:00
mesa st/mesa: fix incorrect types of shader CSOs 2024-11-05 14:13:40 +00:00
microsoft nir: always emit ddx intrinsics 2024-10-17 09:50:19 +00:00
nouveau nvk/ci: add flakes seen recently 2024-10-24 16:50:44 +00:00
panfrost pan/bi: Lower nir_texop_txd to TEXC in GRDESC_DER mode followed by sampling TEXC 2024-11-05 11:20:21 +00:00
tool perfetto: Add Panfrost data sources to system.cfg 2024-08-22 18:33:45 +00:00
util util/ralloc: add total_size helper 2024-10-30 12:59:10 +00:00
virtio virtio/drm: Update header 2024-10-17 18:17:18 +00:00
vulkan vulkan/screenshot-layer: Remove extraneous malloc operations 2024-11-01 17:11:29 +00:00
x11 meson: require dri3 modifiers 2024-09-06 17:34:17 +00:00
.clang-format panfrost: Move ForEachMacros into panfrost 2024-09-12 20:04:58 +00:00
meson.build mesa: add gfxstream-experimental to -Dvulkan-drivers 2024-09-19 20:06:04 +00:00