From: Otavio Salvador Date: Sat, 17 Aug 2019 13:17:01 +0000 (-0300) Subject: mesa: Enable Freedreno when using mainline BSP X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=bacf6dd96784a814b6a0ec48d7de1f783ffaae52;p=meta-freescale.git mesa: Enable Freedreno when using mainline BSP The Freedreno allows the i.MX53 SoC to run using the mesa as rendering, thus providing GPU support. Change-Id: I9bf08503f8c6020d50a2395fc27b15cb797cbba6 Signed-off-by: Otavio Salvador --- diff --git a/recipes-graphics/mesa/mesa_%.bbappend b/recipes-graphics/mesa/mesa_%.bbappend index 05ea2520..c522315a 100644 --- a/recipes-graphics/mesa/mesa_%.bbappend +++ b/recipes-graphics/mesa/mesa_%.bbappend @@ -14,10 +14,10 @@ python () { d.setVarFlag("PACKAGECONFIG", "x11", x11flag.replace("--enable-glx-tls", "--enable-glx")) } -# Enable Etnaviv support +# Enable Etnaviv and Freedreno support PACKAGECONFIG_append_use-mainline-bsp = " gallium" -GALLIUMDRIVERS_append_use-mainline-bsp_armv7a = ",etnaviv,kmsro,vc4" -GALLIUMDRIVERS_append_use-mainline-bsp_armv7ve = ",etnaviv,kmsro,vc4" +GALLIUMDRIVERS_append_use-mainline-bsp_armv7a = ",etnaviv,freedreno,kmsro,vc4" +GALLIUMDRIVERS_append_use-mainline-bsp_armv7ve = ",etnaviv,freedreno,kmsro,vc4" # Define the osmesa block in PACKAGECONFIG for target, this block is # not defined in the master recipe, effectively causing the osmesa