Corrects log print to produce hexadecimal base output

Matching the original %016lx, and the "0x" prefix which is still
in the format string.

Fixes: 53b77a8102 ("anv: remove 48bit address space checks")

Signed-off-by: Christopher Snowhill <kode54@gmail.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22882>
This commit is contained in:
Christopher Snowhill 2023-05-05 21:45:45 -07:00 committed by Marge Bot
parent fb13360546
commit a6d4139e59

View file

@ -1314,7 +1314,7 @@ anv_physical_device_try_create(struct vk_instance *vk_instance,
if (device->gtt_size < (4ULL << 30 /* GiB */)) {
vk_errorf(instance, VK_ERROR_INCOMPATIBLE_DRIVER,
"GTT size too small: 0x%016"PRIu64, device->gtt_size);
"GTT size too small: 0x%016"PRIx64, device->gtt_size);
goto fail_base;
}