[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 58/67] vhost-user-gpu: skip VHOST_USER_GPU_UPDATE when !PIXMAN
From: |
marcandre . lureau |
Subject: |
[PATCH 58/67] vhost-user-gpu: skip VHOST_USER_GPU_UPDATE when !PIXMAN |
Date: |
Wed, 30 Aug 2023 13:38:32 +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>
---
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 e8ee03094e..f57c893970 100644
--- a/hw/display/vhost-user-gpu.c
+++ b/hw/display/vhost-user-gpu.c
@@ -292,6 +292,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;
@@ -319,6 +320,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
- [PATCH 56/67] virtio-gpu: replace PIXMAN for region/rect test, (continued)
- [PATCH 56/67] virtio-gpu: replace PIXMAN for region/rect test, marcandre . lureau, 2023/08/30
- [PATCH 54/67] ui/vc: console-vc requires PIXMAN, marcandre . lureau, 2023/08/30
- [PATCH 55/67] qmp/hmp: disable screendump if PIXMAN is missing, marcandre . lureau, 2023/08/30
- [PATCH 49/67] ui/vc: split off the VC part from console.c, marcandre . lureau, 2023/08/30
- [PATCH 51/67] build-sys: add optional "pixman" feature, marcandre . lureau, 2023/08/30
- [PATCH 53/67] ui: add pixman-compat.h, marcandre . lureau, 2023/08/30
- [PATCH 57/67] ui/console: when PIXMAN is unavailable, don't draw placeholder msg, marcandre . lureau, 2023/08/30
- [PATCH 58/67] vhost-user-gpu: skip VHOST_USER_GPU_UPDATE when !PIXMAN,
marcandre . lureau <=
- [PATCH 59/67] ui/gl: opengl doesn't require PIXMAN, marcandre . lureau, 2023/08/30
- [PATCH 60/67] ui/vnc: VNC requires PIXMAN, marcandre . lureau, 2023/08/30
- [PATCH 62/67] ui/gtk: -display gtk requires PIXMAN, marcandre . lureau, 2023/08/30
- [PATCH 61/67] ui/spice: SPICE/QXL requires PIXMAN, marcandre . lureau, 2023/08/30
- [PATCH 63/67] ui/dbus: do not require PIXMAN, marcandre . lureau, 2023/08/30
- [PATCH 65/67] ppc/kconfig: make SAM460EX depend on PPC & PIXMAN, marcandre . lureau, 2023/08/30
- [PATCH 64/67] arm/kconfig: XLNX_ZYNQMP_ARM depends on PIXMAN, marcandre . lureau, 2023/08/30