qemu

FORK: QEMU emulator
git clone https://git.neptards.moe/neptards/qemu.git
Log | Files | Refs | Submodules | LICENSE

virtio-gpu-udmabuf-stubs.c (665B)


      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 void virtio_gpu_init_udmabuf(struct virtio_gpu_simple_resource *res)
     11 {
     12     /* nothing (stub) */
     13 }
     14 
     15 void virtio_gpu_fini_udmabuf(struct virtio_gpu_simple_resource *res)
     16 {
     17     /* nothing (stub) */
     18 }
     19 
     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)
     25 {
     26     /* nothing (stub) */
     27     return 0;
     28 }