[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL v3 14/25] vhost-user-gpu: skip VHOST_USER_GPU_UPDATE when !PIXMAN
|
From: |
marcandre . lureau |
|
Subject: |
[PULL v3 14/25] vhost-user-gpu: skip VHOST_USER_GPU_UPDATE when !PIXMAN |
|
Date: |
Tue, 7 Nov 2023 14:15:12 +0400 |
From: Marc-André Lureau <marcandre.lureau@redhat.com>
This simply means that 2d drawing updates won't be handled, but 3d
should work.
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
---
hw/display/vhost-user-gpu.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/hw/display/vhost-user-gpu.c b/hw/display/vhost-user-gpu.c
index 1150521d9d..709c8a02a1 100644
--- a/hw/display/vhost-user-gpu.c
+++ b/hw/display/vhost-user-gpu.c
@@ -307,6 +307,7 @@ vhost_user_gpu_handle_display(VhostUserGPU *g,
VhostUserGpuMsg *msg)
dpy_gl_update(con, m->x, m->y, m->width, m->height);
break;
}
+#ifdef CONFIG_PIXMAN
case VHOST_USER_GPU_UPDATE: {
VhostUserGpuUpdate *m = &msg->payload.update;
@@ -334,6 +335,7 @@ vhost_user_gpu_handle_display(VhostUserGPU *g,
VhostUserGpuMsg *msg)
}
break;
}
+#endif
default:
g_warning("unhandled message %d %d", msg->request, msg->size);
}
--
2.41.0
[PULL v3 14/25] vhost-user-gpu: skip VHOST_USER_GPU_UPDATE when !PIXMAN,
marcandre . lureau <=
[PULL v3 11/25] qmp/hmp: disable screendump if PIXMAN is missing, marcandre . lureau, 2023/11/07
[PULL v3 13/25] ui/console: when PIXMAN is unavailable, don't draw placeholder msg, marcandre . lureau, 2023/11/07
[PULL v3 12/25] virtio-gpu: replace PIXMAN for region/rect test, marcandre . lureau, 2023/11/07
[PULL v3 16/25] ui/vnc: VNC requires PIXMAN, marcandre . lureau, 2023/11/07
[PULL v3 18/25] ui/gtk: -display gtk requires PIXMAN, marcandre . lureau, 2023/11/07
[PULL v3 19/25] ui/dbus: do not require PIXMAN, marcandre . lureau, 2023/11/07
[PULL v3 20/25] arm/kconfig: XLNX_ZYNQMP_ARM depends on PIXMAN, marcandre . lureau, 2023/11/07
[PULL v3 17/25] ui/spice: SPICE/QXL requires PIXMAN, marcandre . lureau, 2023/11/07
[PULL v3 23/25] hw/mips: FULOONG depends on VT82C686, marcandre . lureau, 2023/11/07
[PULL v3 15/25] ui/gl: opengl doesn't require PIXMAN, marcandre . lureau, 2023/11/07