summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/iris/iris_batch.c
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2018-04-06 22:39:01 -0700
committerKenneth Graunke <[email protected]>2019-02-21 10:26:05 -0800
commitb69a85bc4dc2af7667b37301a84d5eaa6ee0b1d4 (patch)
tree60b5aa53a83db26569d8a9ed971573a2a38b3c8b /src/gallium/drivers/iris/iris_batch.c
parent24bcf1054b807852f82aa98a59524210a8583465 (diff)
iris: validation dumping improvements
backported from i965. don't bother with (pinned) because everything is.
Diffstat (limited to 'src/gallium/drivers/iris/iris_batch.c')
-rw-r--r--src/gallium/drivers/iris/iris_batch.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/gallium/drivers/iris/iris_batch.c b/src/gallium/drivers/iris/iris_batch.c
index 4db52897adf..51c48476f86 100644
--- a/src/gallium/drivers/iris/iris_batch.c
+++ b/src/gallium/drivers/iris/iris_batch.c
@@ -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);
}
}