[intel] Report buffer size when allocating with INTEL_DEBUG=bufmgr and TTM.
authorEric Anholt <eric@anholt.net>
Thu, 10 Jan 2008 22:43:43 +0000 (14:43 -0800)
committerEric Anholt <eric@anholt.net>
Thu, 10 Jan 2008 22:43:43 +0000 (14:43 -0800)
src/mesa/drivers/dri/intel/intel_bufmgr_ttm.c

index 946198a250ddb748c9f5eea36da8b4c76c6a8085..5b339ea8a46131ee6807b663f099cee79ccd23b3 100644 (file)
@@ -435,7 +435,7 @@ dri_ttm_alloc(dri_bufmgr *bufmgr, const char *name,
     ttm_buf->relocs = NULL;
     ttm_buf->last_flags = ttm_buf->drm_bo.flags;
 
-    DBG("bo_create: %p (%s)\n", &ttm_buf->bo, ttm_buf->name);
+    DBG("bo_create: %p (%s) %db\n", &ttm_buf->bo, ttm_buf->name, size);
 
     return &ttm_buf->bo;
 }