iris: print refcounts in INTEL_DEBUG=submit
This commit is contained in:
@@ -60,14 +60,15 @@ dump_validation_list(struct iris_batch *batch)
|
|||||||
uint64_t flags = batch->validation_list[i].flags;
|
uint64_t flags = batch->validation_list[i].flags;
|
||||||
assert(batch->validation_list[i].handle ==
|
assert(batch->validation_list[i].handle ==
|
||||||
batch->exec_bos[i]->gem_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,
|
i,
|
||||||
batch->validation_list[i].handle,
|
batch->validation_list[i].handle,
|
||||||
batch->exec_bos[i]->name,
|
batch->exec_bos[i]->name,
|
||||||
batch->exec_bos[i],
|
batch->exec_bos[i],
|
||||||
(flags & EXEC_OBJECT_WRITE) ? "(write)" : "",
|
(flags & EXEC_OBJECT_WRITE) ? "(write)" : "",
|
||||||
batch->validation_list[i].offset,
|
batch->validation_list[i].offset,
|
||||||
batch->exec_bos[i]->size);
|
batch->exec_bos[i]->size,
|
||||||
|
batch->exec_bos[i]->refcount);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user