mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 02:38:04 +02:00
gallium/nouveau: fix printf warnings
This commit is contained in:
parent
31200d0688
commit
7e5953fca2
2 changed files with 2 additions and 2 deletions
|
|
@ -143,7 +143,7 @@ mm_slab_new(struct nouveau_mman *cache, int chunk_order)
|
|||
|
||||
cache->allocated += size;
|
||||
|
||||
debug_printf("MM: new slab, total memory = %lu KiB\n",
|
||||
debug_printf("MM: new slab, total memory = %llu KiB\n",
|
||||
cache->allocated / 1024);
|
||||
|
||||
return PIPE_OK;
|
||||
|
|
|
|||
|
|
@ -469,7 +469,7 @@ nv50_screen_create(struct pipe_winsys *ws, struct nouveau_device *dev)
|
|||
|
||||
screen->tls_size = tls_space * max_warps * 32;
|
||||
|
||||
debug_printf("max_warps = %i, tls_size = %lu KiB\n",
|
||||
debug_printf("max_warps = %i, tls_size = %llu KiB\n",
|
||||
max_warps, screen->tls_size >> 10);
|
||||
|
||||
ret = nouveau_bo_new(dev, NOUVEAU_BO_VRAM, 1 << 16, screen->tls_size,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue