mesa/src/virtio
José Expósito dd3fe2d671 venus: Fix error log on PPC
On the ppc64le architecture error log fail to compile with error:

    ../src/virtio/vulkan/vn_renderer_virtgpu.c: In function ‘virtgpu_ioctl_map’:
    ../src/virtio/vulkan/vn_renderer_virtgpu.c:751:66: error: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 6 has type ‘__u64’ {aka ‘long unsigned int’} [-Werror=format=]
    751 |          "mmap failed: gpu_fd=%d, handle=%u, size=%zu, offset=%llu, err=%s",
        |                                                               ~~~^
        |                                                                  |
        |                                                                  long long unsigned int
        |                                                               %lu
    752 |          gpu->fd, gem_handle, size, args.offset, strerror(errno));
        |                                     ~~~~~~~~~~~
        |                                         |
        |                                         __u64 {aka long unsigned int}
    cc1: some warnings being treated as errors

Parse the parameters to fix the failure.

Fixes: a49b7adad8 ("venus: add error log coverage for virtgpu backend")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39775>
2026-02-09 21:35:45 +00:00
..
ci ci/android: revive some previously skipped tests 2026-02-07 06:58:33 +00:00
protocols meson: add rust_global_args for flags for all the rust compilations 2025-12-20 00:13:19 +01:00
vdrm treewide: use UTIL_DYNARRAY_INIT 2025-11-04 13:39:48 +00:00
venus-protocol venus: sync protocol for VK_EXT_mesh_shader support 2025-12-03 07:21:53 +00:00
virtgpu_kumquat virtgpu_kumquat: cleanup derelict allow(dead_code) & allow(unused) annotations 2026-01-05 17:01:37 +00:00
virtgpu_kumquat_ffi virtio/kumquat: fixes to enable meson2hermetic 2026-01-20 17:17:57 +00:00
virtio-gpu intel: Add virtio-gpu native context 2026-02-06 00:15:37 +00:00
vtest virtio/vdrm: Add vtest backend 2025-04-08 15:38:39 +00:00
vulkan venus: Fix error log on PPC 2026-02-09 21:35:45 +00:00