2021-05-27 02:14:19 +03:00
|
|
|
#include "qemu/osdep.h"
|
|
|
|
#include "hw/virtio/virtio-gpu.h"
|
|
|
|
|
|
|
|
bool virtio_gpu_have_udmabuf(void)
|
|
|
|
{
|
|
|
|
/* nothing (stub) */
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
|
|
|
|
void virtio_gpu_init_udmabuf(struct virtio_gpu_simple_resource *res)
|
|
|
|
{
|
|
|
|
/* nothing (stub) */
|
|
|
|
}
|
|
|
|
|
|
|
|
void virtio_gpu_fini_udmabuf(struct virtio_gpu_simple_resource *res)
|
|
|
|
{
|
|
|
|
/* nothing (stub) */
|
|
|
|
}
|
2021-05-27 02:14:26 +03:00
|
|
|
|
|
|
|
int virtio_gpu_update_dmabuf(VirtIOGPU *g,
|
|
|
|
uint32_t scanout_id,
|
|
|
|
struct virtio_gpu_simple_resource *res,
|
2021-11-04 09:51:52 +03:00
|
|
|
struct virtio_gpu_framebuffer *fb,
|
|
|
|
struct virtio_gpu_rect *r)
|
2021-05-27 02:14:26 +03:00
|
|
|
{
|
|
|
|
/* nothing (stub) */
|
|
|
|
return 0;
|
|
|
|
}
|