weston-init: replace deprecated/disabled fbdev with drm backend

drm will default to opengl rendering by default; if this is
problematic, --use-pixman option may help, apply only where
it's proven necessary.

(From OE-Core rev: 432f24ef9af3c0e6e0c769dc2a751023138f7bae)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Alexander Kanavin
2022-02-21 10:28:11 +01:00
committed by Richard Purdie
parent f6d963fa6d
commit e4c8f51dd5

View File

@@ -19,13 +19,7 @@ PACKAGECONFIG ??= ""
PACKAGECONFIG[no-idle-timeout] = ",,"
DEFAULTBACKEND ??= ""
DEFAULTBACKEND:qemuall ?= "fbdev"
DEFAULTBACKEND:qemuarm64 = "drm"
DEFAULTBACKEND:qemux86 = "drm"
DEFAULTBACKEND:qemux86-64 = "drm"
# gallium swrast was found to crash weston on startup in x32 qemu
DEFAULTBACKEND:qemux86-64:x86-x32 = "fbdev"
DEFAULTBACKEND:x86-x32 = "fbdev"
DEFAULTBACKEND:qemuall ?= "drm"
do_install() {
if [ "${VIRTUAL-RUNTIME_init_manager}" != "systemd" ]; then