iris: validation dumping improvements
backported from i965. don't bother with (pinned) because everything is.
This commit is contained in:
@@ -59,13 +59,18 @@ dump_validation_list(struct iris_batch *batch)
|
||||
fprintf(stderr, "Validation list (length %d):\n", batch->exec_count);
|
||||
|
||||
for (int i = 0; i < batch->exec_count; i++) {
|
||||
uint64_t flags = batch->validation_list[i].flags;
|
||||
assert(batch->validation_list[i].handle ==
|
||||
batch->exec_bos[i]->gem_handle);
|
||||
fprintf(stderr, "[%d] = %d %s %p @ %"PRIx64"\n", i,
|
||||
fprintf(stderr, "[%2d]: %2d %-14s %p %s%-7s @ 0x%016llx (%"PRIu64"B)\n",
|
||||
i,
|
||||
batch->validation_list[i].handle,
|
||||
batch->exec_bos[i]->name,
|
||||
batch->exec_bos[i],
|
||||
batch->exec_bos[i]->gtt_offset);
|
||||
(flags & EXEC_OBJECT_SUPPORTS_48B_ADDRESS) ? "(48b" : "(32b",
|
||||
(flags & EXEC_OBJECT_WRITE) ? " write)" : ")",
|
||||
batch->validation_list[i].offset,
|
||||
batch->exec_bos[i]->size);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user