mirror of
https://git.yoctoproject.org/poky
synced 2026-01-29 21:08:42 +01:00
mesa: enable dri in native/nativesdk through gallium drivers
Previously, dri was enabled via a token dri driver (swrast, then nouveau). Upstream is discussing removing dri drivers altogether (they're becoming difficult to support and only needed for obsolete x86 hardware), so let's prepare for that happening in the future: https://lists.freedesktop.org/archives/mesa-dev/2021-March/224984.html (From OE-Core rev: d32add868ee5cb05c4fdbc0c30c7bb01070e683b) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
559fe1d1e9
commit
0c9f11e07c
@@ -87,8 +87,8 @@ PACKAGECONFIG_class-target ??= "${@bb.utils.filter('DISTRO_FEATURES', 'wayland v
|
||||
${@bb.utils.contains('DISTRO_FEATURES', 'x11 vulkan', 'dri3', '', d)} \
|
||||
elf-tls \
|
||||
"
|
||||
PACKAGECONFIG_class-native ?= "gbm dri egl opengl elf-tls x11"
|
||||
PACKAGECONFIG_class-nativesdk ?= "gbm dri egl opengl elf-tls x11"
|
||||
PACKAGECONFIG_class-native ?= "gbm gallium egl opengl elf-tls x11"
|
||||
PACKAGECONFIG_class-nativesdk ?= "gbm gallium egl opengl elf-tls x11"
|
||||
|
||||
PACKAGECONFIG_remove_libc-musl = "elf-tls"
|
||||
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
require ${BPN}.inc
|
||||
|
||||
DRIDRIVERS_class-native = "nouveau"
|
||||
DRIDRIVERS_class-nativesdk = "nouveau"
|
||||
DRIDRIVERS_append_x86_class-target = ",r100,r200,nouveau,i965,i915"
|
||||
DRIDRIVERS_append_x86-64_class-target = ",r100,r200,nouveau,i965,i915"
|
||||
|
||||
Reference in New Issue
Block a user