From 0a43c9defa7700e21e574813d061010d46afc2da Mon Sep 17 00:00:00 2001 From: Kenneth Graunke Date: Mon, 18 Jun 2018 00:39:10 -0700 Subject: iris: print refcounts in INTEL_DEBUG=submit --- src/gallium/drivers/iris/iris_batch.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/gallium') 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); } } -- cgit v1.2.3