mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 06:48:06 +02:00
anv: Convert DEBUG_HEAPS logging to use mesa_log
Replace fprintf with the mesa_log API. Signed-off-by: Christian Gmeiner <cgmeiner@igalia.com> Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38171>
This commit is contained in:
parent
5e380ca7e5
commit
3c7fa2e6eb
1 changed files with 2 additions and 2 deletions
|
|
@ -44,9 +44,9 @@ va_at(struct anv_va_range *range, uint64_t addr, uint64_t size)
|
|||
static void
|
||||
anv_device_print_vas(struct anv_physical_device *device)
|
||||
{
|
||||
fprintf(stderr, "Driver heaps:\n");
|
||||
mesa_logi("Driver heaps:\n");
|
||||
#define PRINT_HEAP(name) \
|
||||
fprintf(stderr, " 0x%016"PRIx64"-0x%016"PRIx64": %s\n", \
|
||||
mesa_logi(" 0x%016"PRIx64"-0x%016"PRIx64": %s\n", \
|
||||
device->va.name.addr, \
|
||||
device->va.name.addr + device->va.name.size, \
|
||||
#name);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue