mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-21 17:38:08 +02:00
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> |
||
|---|---|---|
| .. | ||
| anv_batch_chain.c | ||
| anv_batch_chain.h | ||
| anv_device.c | ||
| anv_device.h | ||
| anv_gem.c | ||
| anv_gem.h | ||
| anv_kmd_backend.c | ||
| anv_queue.c | ||
| anv_queue.h | ||