Merge tag 'qemu-macppc-20230206' of https://github.com/mcayland/qemu into staging
[qemu.git] / hw / display / virtio-gpu-udmabuf-stubs.c
blobf692e1351034ada8812f8fe8d5c61017785ec3bc
1 #include "qemu/osdep.h"
2 #include "hw/virtio/virtio-gpu.h"
4 bool virtio_gpu_have_udmabuf(void)
6 /* nothing (stub) */
7 return false;
10 void virtio_gpu_init_udmabuf(struct virtio_gpu_simple_resource *res)
12 /* nothing (stub) */
15 void virtio_gpu_fini_udmabuf(struct virtio_gpu_simple_resource *res)
17 /* nothing (stub) */
20 int virtio_gpu_update_dmabuf(VirtIOGPU *g,
21 uint32_t scanout_id,
22 struct virtio_gpu_simple_resource *res,
23 struct virtio_gpu_framebuffer *fb,
24 struct virtio_gpu_rect *r)
26 /* nothing (stub) */
27 return 0;