]> code.ossystems Code Review - meta-freescale.git/commitdiff
mesa: Enable Freedreno when using mainline BSP
authorOtavio Salvador <otavio@ossystems.com.br>
Sat, 17 Aug 2019 13:17:01 +0000 (10:17 -0300)
committerOtavio Salvador <otavio@ossystems.com.br>
Sat, 21 Sep 2019 00:14:51 +0000 (21:14 -0300)
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 <otavio@ossystems.com.br>
recipes-graphics/mesa/mesa_%.bbappend

index 05ea2520c71182b6441e378c9a5792716fc39c7c..c522315a566a29990b7d076c5df74ac9d034aaf8 100644 (file)
@@ -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