diff options
author | Alexander Kanavin <alex.kanavin@gmail.com> | 2021-04-02 22:46:27 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-04-05 15:29:01 +0100 |
commit | 0c9f11e07c157fa66ddf5adb8faa73318847eeca (patch) | |
tree | b8da2c2ec8a8e4bd4ba63bf70ba8720c3fa81b9f /meta | |
parent | 559fe1d1e9390fc655ea77980918fce62a7c4a48 (diff) | |
download | poky-0c9f11e07c157fa66ddf5adb8faa73318847eeca.tar.gz |
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>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-graphics/mesa/mesa.inc | 4 | ||||
-rw-r--r-- | meta/recipes-graphics/mesa/mesa_21.0.1.bb | 2 |
2 files changed, 2 insertions, 4 deletions
diff --git a/meta/recipes-graphics/mesa/mesa.inc b/meta/recipes-graphics/mesa/mesa.inc index d7f34739de..caf3c62ad8 100644 --- a/meta/recipes-graphics/mesa/mesa.inc +++ b/meta/recipes-graphics/mesa/mesa.inc | |||
@@ -87,8 +87,8 @@ PACKAGECONFIG_class-target ??= "${@bb.utils.filter('DISTRO_FEATURES', 'wayland v | |||
87 | ${@bb.utils.contains('DISTRO_FEATURES', 'x11 vulkan', 'dri3', '', d)} \ | 87 | ${@bb.utils.contains('DISTRO_FEATURES', 'x11 vulkan', 'dri3', '', d)} \ |
88 | elf-tls \ | 88 | elf-tls \ |
89 | " | 89 | " |
90 | PACKAGECONFIG_class-native ?= "gbm dri egl opengl elf-tls x11" | 90 | PACKAGECONFIG_class-native ?= "gbm gallium egl opengl elf-tls x11" |
91 | PACKAGECONFIG_class-nativesdk ?= "gbm dri egl opengl elf-tls x11" | 91 | PACKAGECONFIG_class-nativesdk ?= "gbm gallium egl opengl elf-tls x11" |
92 | 92 | ||
93 | PACKAGECONFIG_remove_libc-musl = "elf-tls" | 93 | PACKAGECONFIG_remove_libc-musl = "elf-tls" |
94 | 94 | ||
diff --git a/meta/recipes-graphics/mesa/mesa_21.0.1.bb b/meta/recipes-graphics/mesa/mesa_21.0.1.bb index d578c75e39..8c584d8e9f 100644 --- a/meta/recipes-graphics/mesa/mesa_21.0.1.bb +++ b/meta/recipes-graphics/mesa/mesa_21.0.1.bb | |||
@@ -1,6 +1,4 @@ | |||
1 | require ${BPN}.inc | 1 | require ${BPN}.inc |
2 | 2 | ||
3 | DRIDRIVERS_class-native = "nouveau" | ||
4 | DRIDRIVERS_class-nativesdk = "nouveau" | ||
5 | DRIDRIVERS_append_x86_class-target = ",r100,r200,nouveau,i965,i915" | 3 | DRIDRIVERS_append_x86_class-target = ",r100,r200,nouveau,i965,i915" |
6 | DRIDRIVERS_append_x86-64_class-target = ",r100,r200,nouveau,i965,i915" | 4 | DRIDRIVERS_append_x86-64_class-target = ",r100,r200,nouveau,i965,i915" |