mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-24 01:58:16 +02:00
v3dv: assert timestamp pool BO is disjoint from dst buffer BO
The two BOs come from distjoint allocation nowadays. So they would never share the BO handle. In case this becomes false in the future, the BO hanldes needs to be de-duped as happens with TFU submisions. Reviewed-by: Iago Toral Quiroga <itoral@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41616>
This commit is contained in:
parent
87a0eac718
commit
14b8d02130
1 changed files with 4 additions and 0 deletions
|
|
@ -578,6 +578,10 @@ handle_copy_query_results_cpu_job(struct v3dv_queue *queue,
|
|||
uintptr_t *kperfmon_ids = NULL;
|
||||
|
||||
if (info->pool->query_type == VK_QUERY_TYPE_TIMESTAMP) {
|
||||
/* timestamp pool BO is V3DV-internal, never aliased by user BO. If
|
||||
* that could happen we would need to dedupe them
|
||||
*/
|
||||
assert(bo->handle != info->pool->timestamp.bo->handle);
|
||||
submit.bo_handle_count = 2;
|
||||
|
||||
bo_handles = (uint32_t *)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue