mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 21:50:12 +01:00
anv: Add a tracepoint for the fallback implicit sync wait path.
If you're here, you'd really like to know. Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20658>
This commit is contained in:
parent
25edfcdb2a
commit
f67a0a7745
1 changed files with 2 additions and 0 deletions
|
|
@ -24,6 +24,7 @@
|
|||
#include "anv_private.h"
|
||||
|
||||
#include "util/os_time.h"
|
||||
#include "util/perf/cpu_trace.h"
|
||||
|
||||
static struct anv_bo_sync *
|
||||
to_anv_bo_sync(struct vk_sync *sync)
|
||||
|
|
@ -105,6 +106,7 @@ anv_bo_sync_wait(struct vk_device *vk_device,
|
|||
{
|
||||
struct anv_device *device = container_of(vk_device, struct anv_device, vk);
|
||||
VkResult result;
|
||||
MESA_TRACE_FUNC();
|
||||
|
||||
uint32_t pending = wait_count;
|
||||
while (pending) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue