diff options
author | Kenneth Graunke <[email protected]> | 2018-06-18 00:39:10 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2019-02-21 10:26:07 -0800 |
commit | 0a43c9defa7700e21e574813d061010d46afc2da (patch) | |
tree | 513c48d072a1c32967fbb71b23cc6d12f0758bfb /src/gallium | |
parent | 7d1e6f1fa12f0a37b75ac9cf00d5434643829d64 (diff) |
iris: print refcounts in INTEL_DEBUG=submit
Diffstat (limited to 'src/gallium')
-rw-r--r-- | src/gallium/drivers/iris/iris_batch.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gallium/drivers/iris/iris_batch.c b/src/gallium/drivers/iris/iris_batch.c index 17d32bd9d12..7e90d7bb162 100644 --- a/src/gallium/drivers/iris/iris_batch.c +++ b/src/gallium/drivers/iris/iris_batch.c @@ -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); } } |