Skip to contentSkip to conversation

yocto-bsp/genericarm64: add virtio-gpu

PATCH New Jon Mason 1 participant 1 message Apr 5, 2024

lore
Share & tools
lore

Jon Mason

author
#0 lore raw

PATCH 1/1 yocto-bsp/genericarm64: add virtio-gpu

testimage on core-image-sato fails in parselogs and xorg tests. We can add the virtio gpu to address these issues (like what is being done in qemuarm, qemuarm64, and qemuarmv5).

---
 meta-yocto-bsp/conf/machine/genericarm64.conf | 2 ++
 1 file changed, 2 insertions(+)
meta-yocto-bsp/conf/machine/genericarm64.conf +2 -0
index 4afd6c3a8703..4fa9395b31b9 100644
@@ -51,6 +51,8 @@ QB_DEFAULT_FSTYPE = "wic"
 QB_FSINFO = "wic:no-kernel-in-fs"
 # Mount the wic rootfs as a virtio block device
 QB_ROOTFS_OPT = "-drive id=root,file=@ROOTFS@,if=none,format=raw -device virtio-blk-pci,drive=root"
+# Virtio graphics
+QB_GRAPHICS = "-device virtio-gpu-pci"
 # Virtio serial consoles
 QB_SERIAL_OPT = "-device virtio-serial-pci -chardev null,id=virtcon -device virtconsole,chardev=virtcon"
 QB_TCPSERIAL_OPT = "-device virtio-serial-pci -chardev socket,id=virtcon,port=@PORT@,host=127.0.0.1,nodelay=on -device virtconsole,chardev=virtcon"
Signature · 1 line
2.30.2