| 1 | #include "qemu/osdep.h" |
| 2 | #include "hw/virtio/virtio-gpu.h" |
| 3 | |
| 4 | bool virtio_gpu_have_udmabuf(void) |
| 5 | { |
| 6 | /* nothing (stub) */ |
| 7 | return false; |
| 8 | } |
| 9 | |
| 10 | bool virtio_gpu_init_udmabuf(struct virtio_gpu_simple_resource *res) |
| 11 | { |
| 12 | /* nothing (stub) */ |
| 13 | return false; |
| 14 | } |
| 15 | |
| 16 | void virtio_gpu_fini_udmabuf(VirtIOGPU *g, struct virtio_gpu_simple_resource *res) |
| 17 | { |
| 18 | /* nothing (stub) */ |
| 19 | } |
| 20 | |
| 21 | int virtio_gpu_update_dmabuf(VirtIOGPU *g, |
| 22 | uint32_t scanout_id, |
| 23 | struct virtio_gpu_simple_resource *res, |
| 24 | struct virtio_gpu_framebuffer *fb, |
| 25 | struct virtio_gpu_rect *r) |
| 26 | { |
| 27 | /* nothing (stub) */ |
| 28 | return 0; |
| 29 | } |