aboutsummaryrefslogtreecommitdiff
path: root/hw/display/meson.build
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2021-04-30 13:35:47 +0200
committerGerd Hoffmann <kraxel@redhat.com>2021-05-10 13:55:28 +0200
commitb36eb8860f8f4a9c6f131c3fd380116a3017e022 (patch)
tree0600cf010f7c2d3cca24d9f3bccacdd7e0bf4667 /hw/display/meson.build
parent48ecfbf12c1f51281aaabaf8e03494291a18862c (diff)
downloadqemu-b36eb8860f8f4a9c6f131c3fd380116a3017e022.zip
qemu-b36eb8860f8f4a9c6f131c3fd380116a3017e022.tar.gz
qemu-b36eb8860f8f4a9c6f131c3fd380116a3017e022.tar.bz2
virtio-gpu: add virtio-vga-gl
Add pci proxy for virtio-gpu-gl-device, with vga compatibility. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Message-id: 20210430113547.1816178-1-kraxel@redhat.com Message-Id: <20210430113547.1816178-17-kraxel@redhat.com>
Diffstat (limited to 'hw/display/meson.build')
-rw-r--r--hw/display/meson.build5
1 files changed, 5 insertions, 0 deletions
diff --git a/hw/display/meson.build b/hw/display/meson.build
index 8ca2e7a..612cd65 100644
--- a/hw/display/meson.build
+++ b/hw/display/meson.build
@@ -87,6 +87,11 @@ if config_all_devices.has_key('CONFIG_VIRTIO_VGA')
virtio_vga_ss.add(when: 'CONFIG_VHOST_USER_VGA',
if_true: files('vhost-user-vga.c'))
hw_display_modules += {'virtio-vga': virtio_vga_ss}
+
+ virtio_vga_gl_ss = ss.source_set()
+ virtio_vga_gl_ss.add(when: ['CONFIG_VIRTIO_VGA', 'CONFIG_VIRGL', opengl],
+ if_true: [files('virtio-vga-gl.c'), pixman])
+ hw_display_modules += {'virtio-vga-gl': virtio_vga_gl_ss}
endif
specific_ss.add(when: [x11, opengl, 'CONFIG_MILKYMIST_TMU2'], if_true: files('milkymist-tmu2.c'))