From 4a951f1c0847353101d28db583e1dd397fdce9ba Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Wed, 4 Nov 2015 13:13:39 -0800 Subject: [PATCH] vc4: Fix dumping the size of BOs allocated/cached. 60MB of cached BOs are a lot less scary than 600MB. --- src/gallium/drivers/vc4/vc4_bufmgr.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gallium/drivers/vc4/vc4_bufmgr.c b/src/gallium/drivers/vc4/vc4_bufmgr.c index f7b41f5816d..171a5544bea 100644 --- a/src/gallium/drivers/vc4/vc4_bufmgr.c +++ b/src/gallium/drivers/vc4/vc4_bufmgr.c @@ -42,9 +42,9 @@ vc4_bo_dump_stats(struct vc4_screen *screen) struct vc4_bo_cache *cache = &screen->bo_cache; fprintf(stderr, " BOs allocated: %d\n", screen->bo_count); - fprintf(stderr, " BOs size: %dkb\n", screen->bo_size / 102); + fprintf(stderr, " BOs size: %dkb\n", screen->bo_size / 1024); fprintf(stderr, " BOs cached: %d\n", cache->bo_count); - fprintf(stderr, " BOs cached size: %dkb\n", cache->bo_size / 102); + fprintf(stderr, " BOs cached size: %dkb\n", cache->bo_size / 1024); if (!list_empty(&cache->time_list)) { struct vc4_bo *first = LIST_ENTRY(struct vc4_bo, -- 2.30.2