summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/mesa
diff options
context:
space:
mode:
authorDmitry Baryshkov <dmitry.baryshkov@linaro.org>2020-07-24 17:42:53 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-07-27 10:37:58 +0100
commit89fcdf98683b2802a0155bf9f608f1a4a413f9fc (patch)
treecef0f7c02b3648e518a0022fae29cc4386711bf8 /meta/recipes-graphics/mesa
parent48ba352755292c591e1b3a318a1962153c221753 (diff)
downloadpoky-89fcdf98683b2802a0155bf9f608f1a4a413f9fc.tar.gz
mesa: enable freedreno Vulkan driver if freedreno is enabled
If freedreno is enabled in PACKAGECONFIG, enable respective Vulkan driver. (From OE-Core rev: eee63fdddaf74e548c362050f57e1d67eba1ba5d) Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics/mesa')
-rw-r--r--meta/recipes-graphics/mesa/mesa.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-graphics/mesa/mesa.inc b/meta/recipes-graphics/mesa/mesa.inc
index 4fe5f025eb..6fd92035f0 100644
--- a/meta/recipes-graphics/mesa/mesa.inc
+++ b/meta/recipes-graphics/mesa/mesa.inc
@@ -121,6 +121,7 @@ PACKAGECONFIG[dri3] = "-Ddri3=true, -Ddri3=false, xorgproto libxshmfence"
121VULKAN_DRIVERS = "" 121VULKAN_DRIVERS = ""
122VULKAN_DRIVERS_append_x86_class-target = ",intel" 122VULKAN_DRIVERS_append_x86_class-target = ",intel"
123VULKAN_DRIVERS_append_x86-64_class-target = ",intel" 123VULKAN_DRIVERS_append_x86-64_class-target = ",intel"
124VULKAN_DRIVERS_append ="${@bb.utils.contains('PACKAGECONFIG', 'freedreno', ',freedreno', '', d)}"
124PACKAGECONFIG[vulkan] = "-Dvulkan-drivers=${VULKAN_DRIVERS}, -Dvulkan-drivers=''," 125PACKAGECONFIG[vulkan] = "-Dvulkan-drivers=${VULKAN_DRIVERS}, -Dvulkan-drivers='',"
125 126
126PACKAGECONFIG[opengl] = "-Dopengl=true, -Dopengl=false" 127PACKAGECONFIG[opengl] = "-Dopengl=true, -Dopengl=false"