From 269d518008a20dc81231574f2d07d101553d3824 Mon Sep 17 00:00:00 2001 From: Stephane Marchesin Date: Mon, 14 Jan 2008 03:16:40 +0100 Subject: nouveau: make mem alloc debug a little more verbose. --- shared-core/nouveau_mem.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'shared-core/nouveau_mem.c') diff --git a/shared-core/nouveau_mem.c b/shared-core/nouveau_mem.c index 5259ea27..80540a5c 100644 --- a/shared-core/nouveau_mem.c +++ b/shared-core/nouveau_mem.c @@ -619,7 +619,7 @@ alloc_ok: block->map_handle = entry->user_token; } - DRM_DEBUG("allocated 0x%llx type=0x%08x\n", block->start, block->flags); + DRM_DEBUG("allocated %d bytes at 0x%x type=0x%08x\n", block->size, block->start, block->flags); return block; } -- cgit v1.2.3 From 7c726086dd6591c7b32bffdcfd8e180309aad14d Mon Sep 17 00:00:00 2001 From: Maarten Maathuis Date: Wed, 23 Jan 2008 16:40:19 +0100 Subject: nouveau: Fix warning in nouveau_mem.c --- shared-core/nouveau_mem.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'shared-core/nouveau_mem.c') diff --git a/shared-core/nouveau_mem.c b/shared-core/nouveau_mem.c index 80540a5c..f4e641b9 100644 --- a/shared-core/nouveau_mem.c +++ b/shared-core/nouveau_mem.c @@ -619,7 +619,7 @@ alloc_ok: block->map_handle = entry->user_token; } - DRM_DEBUG("allocated %d bytes at 0x%x type=0x%08x\n", block->size, block->start, block->flags); + DRM_DEBUG("allocated %lld bytes at 0x%llx type=0x%08x\n", block->size, block->start, block->flags); return block; } -- cgit v1.2.3