[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v7 14/23] vhost-user-gpu: skip VHOST_USER_GPU_UPDATE when !PIXMAN
From: |
marcandre . lureau |
Subject: |
[PATCH v7 14/23] vhost-user-gpu: skip VHOST_USER_GPU_UPDATE when !PIXMAN |
Date: |
Mon, 30 Oct 2023 14:47:45 +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
- [PATCH v7 05/23] vl: drop needless -spice checks, (continued)
- [PATCH v7 05/23] vl: drop needless -spice checks, marcandre . lureau, 2023/10/30
- [PATCH v7 03/23] ui: compile out some qemu-pixman functions when !PIXMAN, marcandre . lureau, 2023/10/30
- [PATCH v7 06/23] qemu-options: define -vnc only #ifdef CONFIG_VNC, marcandre . lureau, 2023/10/30
- [PATCH v7 07/23] vl: simplify display_remote logic, marcandre . lureau, 2023/10/30
- [PATCH v7 08/23] vl: move display early init before default devices, marcandre . lureau, 2023/10/30
- [PATCH v7 09/23] ui/console: allow to override the default VC, marcandre . lureau, 2023/10/30
- [PATCH v7 10/23] ui/vc: console-vc requires PIXMAN, marcandre . lureau, 2023/10/30
- [PATCH v7 11/23] qmp/hmp: disable screendump if PIXMAN is missing, marcandre . lureau, 2023/10/30
- [PATCH v7 12/23] virtio-gpu: replace PIXMAN for region/rect test, marcandre . lureau, 2023/10/30
- [PATCH v7 13/23] ui/console: when PIXMAN is unavailable, don't draw placeholder msg, marcandre . lureau, 2023/10/30
- [PATCH v7 14/23] vhost-user-gpu: skip VHOST_USER_GPU_UPDATE when !PIXMAN,
marcandre . lureau <=
- [PATCH v7 15/23] ui/gl: opengl doesn't require PIXMAN, marcandre . lureau, 2023/10/30
- [PATCH v7 17/23] ui/spice: SPICE/QXL requires PIXMAN, marcandre . lureau, 2023/10/30
- [PATCH v7 16/23] ui/vnc: VNC requires PIXMAN, marcandre . lureau, 2023/10/30
- [PATCH v7 18/23] ui/gtk: -display gtk requires PIXMAN, marcandre . lureau, 2023/10/30
- [PATCH v7 20/23] arm/kconfig: XLNX_ZYNQMP_ARM depends on PIXMAN, marcandre . lureau, 2023/10/30
- [PATCH v7 19/23] ui/dbus: do not require PIXMAN, marcandre . lureau, 2023/10/30
- [PATCH v7 22/23] hw/display: make ATI_VGA depend on PIXMAN, marcandre . lureau, 2023/10/30
- [PATCH v7 23/23] build-sys: make pixman actually optional, marcandre . lureau, 2023/10/30
- [PATCH v7 21/23] hw/sm501: allow compiling without PIXMAN, marcandre . lureau, 2023/10/30