summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/mesa
diff options
context:
space:
mode:
authorAlexander Kanavin <alex.kanavin@gmail.com>2021-06-19 11:58:45 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-06-21 11:09:56 +0100
commitcdbbdb28a46293fcdb939bbf14f58fab0ccb94ea (patch)
treed38aa1e5762a9979a7082fd800547cba6927867c /meta/recipes-graphics/mesa
parent5b39d878515faf1f4bab7b4e860bf21b647de32e (diff)
downloadpoky-cdbbdb28a46293fcdb939bbf14f58fab0ccb94ea.tar.gz
mesa: enable gallium intel drivers when building for x86
Iris is the default, recommended option for Skylake and newer nowadays, i915 gallium is favoured over classic i915, and soon classic i965 will be replaced by crocus gallium driver for i965-to-Haswell GPUs. (From OE-Core rev: 670878b5919c2a67a2fea0b8e1f032e324fad5aa) (From OE-Core rev: 5fdc061856348c0dab4dea7cfc0e9fdc1c95d85f) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics/mesa')
-rw-r--r--meta/recipes-graphics/mesa/mesa.inc3
-rw-r--r--meta/recipes-graphics/mesa/mesa_21.1.2.bb4
2 files changed, 5 insertions, 2 deletions
diff --git a/meta/recipes-graphics/mesa/mesa.inc b/meta/recipes-graphics/mesa/mesa.inc
index 5700cc9673..b3c8c292ff 100644
--- a/meta/recipes-graphics/mesa/mesa.inc
+++ b/meta/recipes-graphics/mesa/mesa.inc
@@ -131,6 +131,9 @@ PACKAGECONFIG[v3d] = ""
131GALLIUMDRIVERS = "swrast" 131GALLIUMDRIVERS = "swrast"
132# gallium swrast was found to crash Xorg on startup in x32 qemu 132# gallium swrast was found to crash Xorg on startup in x32 qemu
133GALLIUMDRIVERS_x86-x32 = "" 133GALLIUMDRIVERS_x86-x32 = ""
134# Add crocus when 21.2 is out to the list below to support the full range of Intel GPUs
135GALLIUMDRIVERS_append_x86_class-target = ",i915,iris"
136GALLIUMDRIVERS_append_x86-64_class-target = ",i915,iris"
134 137
135GALLIUMDRIVERS_append ="${@bb.utils.contains('PACKAGECONFIG', 'etnaviv', ',etnaviv', '', d)}" 138GALLIUMDRIVERS_append ="${@bb.utils.contains('PACKAGECONFIG', 'etnaviv', ',etnaviv', '', d)}"
136GALLIUMDRIVERS_append ="${@bb.utils.contains('PACKAGECONFIG', 'freedreno', ',freedreno', '', d)}" 139GALLIUMDRIVERS_append ="${@bb.utils.contains('PACKAGECONFIG', 'freedreno', ',freedreno', '', d)}"
diff --git a/meta/recipes-graphics/mesa/mesa_21.1.2.bb b/meta/recipes-graphics/mesa/mesa_21.1.2.bb
index 1993d6cbd0..28abc91a87 100644
--- a/meta/recipes-graphics/mesa/mesa_21.1.2.bb
+++ b/meta/recipes-graphics/mesa/mesa_21.1.2.bb
@@ -1,5 +1,5 @@
1require ${BPN}.inc 1require ${BPN}.inc
2 2
3DRIDRIVERS_append_x86_class-target = ",r100,r200,nouveau,i965,i915" 3DRIDRIVERS_append_x86_class-target = ",r100,r200,nouveau,i965"
4DRIDRIVERS_append_x86-64_class-target = ",r100,r200,nouveau,i965,i915" 4DRIDRIVERS_append_x86-64_class-target = ",r100,r200,nouveau,i965"
5 5