aboutsummaryrefslogtreecommitdiff
path: root/stubs/virtio-gpu-udmabuf.c
diff options
context:
space:
mode:
Diffstat (limited to 'stubs/virtio-gpu-udmabuf.c')
-rw-r--r--stubs/virtio-gpu-udmabuf.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/stubs/virtio-gpu-udmabuf.c b/stubs/virtio-gpu-udmabuf.c
index e962e00d86..81f661441a 100644
--- a/stubs/virtio-gpu-udmabuf.c
+++ b/stubs/virtio-gpu-udmabuf.c
@@ -16,3 +16,12 @@ void virtio_gpu_fini_udmabuf(struct virtio_gpu_simple_resource *res)
{
/* nothing (stub) */
}
+
+int virtio_gpu_update_dmabuf(VirtIOGPU *g,
+ uint32_t scanout_id,
+ struct virtio_gpu_simple_resource *res,
+ struct virtio_gpu_framebuffer *fb)
+{
+ /* nothing (stub) */
+ return 0;
+}