mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-29 16:40:13 +01:00
iris: print refcounts in INTEL_DEBUG=submit
This commit is contained in:
parent
7d1e6f1fa1
commit
0a43c9defa
1 changed files with 3 additions and 2 deletions
|
|
@ -60,14 +60,15 @@ dump_validation_list(struct iris_batch *batch)
|
|||
uint64_t flags = batch->validation_list[i].flags;
|
||||
assert(batch->validation_list[i].handle ==
|
||||
batch->exec_bos[i]->gem_handle);
|
||||
fprintf(stderr, "[%2d]: %2d %-14s %p %-7s @ 0x%016llx (%"PRIu64"B)\n",
|
||||
fprintf(stderr, "[%2d]: %2d %-14s %p %-7s @ 0x%016llx (%"PRIu64"B) - %d refs\n",
|
||||
i,
|
||||
batch->validation_list[i].handle,
|
||||
batch->exec_bos[i]->name,
|
||||
batch->exec_bos[i],
|
||||
(flags & EXEC_OBJECT_WRITE) ? "(write)" : "",
|
||||
batch->validation_list[i].offset,
|
||||
batch->exec_bos[i]->size);
|
||||
batch->exec_bos[i]->size,
|
||||
batch->exec_bos[i]->refcount);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue