Skip to content

anv: fix utrace signaling with Xe

Lionel Landwerlin requested to merge llandwerlin/mesa:review/utrace-xe-fix into main

What does this MR do and why?

anv: fix utrace signaling with Xe

utrace submits can either have a batch or not.

When there is a batch, the utrace vk_sync batch is signaled by the utrace batch (because utrace does a timestamp buffer copy using its own batch). When there is no batch, the utrace vk_sync should be signaled by the application batch (no timestamp copy required, utrace can read the timestamps when the application batch has completed).

Signed-off-by: Lionel Landwerlin lionel.g.landwerlin@intel.com Fixes: fdea48df ("anv: Implement Xe version of anv_queue_exec_locked() and queue_exec_trace()")

Merge request reports