]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
machine/qemu*: add modesetting drivers to XSERVER
authorRoss Burton <ross.burton@arm.com>
Mon, 11 Sep 2023 10:26:14 +0000 (11:26 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 12 Sep 2023 06:43:39 +0000 (07:43 +0100)
The modesetting driver works well in qemu, so install it by default. The
plain framebuffer has been buggy in recent 6.4 kernels, a sign that it's
not getting much testing. The Xorg modesetting driver that can use more
powerful virtualised hardware is much better.

We override the default XSERVER because we want to pull in the GLX
extension to exercise that.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/conf/machine/include/qemu.inc

index 0d71bcbbad0d6da152a8ea0ef67c17c3dd977a08..14feb867906a64de584db534168a4642c5da33f4 100644 (file)
@@ -8,6 +8,7 @@ PREFERRED_PROVIDER_virtual/libgles3 ?= "mesa"
 XSERVER ?= "xserver-xorg \
             ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'mesa-driver-swrast xserver-xorg-extension-glx', '', d)} \
             xf86-video-fbdev \
+            xf86-video-modesetting \
             "
 
 MACHINE_FEATURES = "alsa bluetooth usbgadget screen vfat"