anv: better signal new frames to utrace

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Danylo Piliaiev <dpiliaiev@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29944>
This commit is contained in:
Lionel Landwerlin 2024-07-22 17:25:59 +03:00 committed by Lionel Landwerlin
parent bc523e8949
commit 97f6a296e3
2 changed files with 4 additions and 1 deletions

View file

@ -1622,7 +1622,7 @@ anv_queue_submit(struct vk_queue *vk_queue,
pthread_mutex_unlock(&device->mutex);
intel_ds_device_process(&device->ds, true);
intel_ds_device_process(&device->ds, false);
return result;
}

View file

@ -620,6 +620,9 @@ anv_queue_trace(struct anv_queue *queue, const char *label, bool frame, bool beg
if (result != VK_SUCCESS)
goto error_batch;
if (frame && !begin)
intel_ds_device_process(&device->ds, true);
return;
error_batch: