Patchwork [meta-fsl-arm,v4,6/6] imx-base: Add MACHINE_ARCH filter for sololite.

login
register
mail settings
Submitter Neena Busireddy
Date Aug. 8, 2014, 8:18 p.m.
Message ID <1407529116-5266-6-git-send-email-neena.busireddy@freescale.com>
Download mbox | patch
Permalink /patch/77567/
State Changes Requested
Delegated to: Otavio Salvador
Headers show

Comments

Neena Busireddy - Aug. 8, 2014, 8:18 p.m.
Add MACHINE_ARCH_FILTER for sololite as it is
different from other SOC families (Sololite does
not support 3D GPU hardware acceleration).

Sololite uses mesa software rendering GL. So, set
the PREFERRED PROVIDER for libgl to use mesa for SL.

Signed-off-by: Neena Busireddy <neena.busireddy@freescale.com>
---
 conf/machine/include/imx-base.inc |    8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

Patch

diff --git a/conf/machine/include/imx-base.inc b/conf/machine/include/imx-base.inc
index 9f0217e..dcaaacf 100644
--- a/conf/machine/include/imx-base.inc
+++ b/conf/machine/include/imx-base.inc
@@ -47,9 +47,11 @@  MACHINE_SOCARCH_vf60 = "${TUNE_PKGARCH}-vf60"
 PACKAGE_EXTRA_ARCHS_append = " ${MACHINE_SOCARCH}"
 
 MACHINE_ARCH_FILTER = "virtual/kernel"
+MACHINE_ARCH_FILTER_append_mx6sl = " virtual/egl virtual/mesa"
 MACHINE_SOCARCH_FILTER = "libfslcodec libfslvpuwrap libfslparser gst-fsl-plugins"
 MACHINE_SOCARCH_FILTER_append_mx5 = " virtual/libgles1 virtual/libgles2 virtual/egl virtual/mesa virtual/libgl"
-MACHINE_SOCARCH_FILTER_append_mx6 = " virtual/libgles1 virtual/libgles2 virtual/egl virtual/mesa virtual/libgl"
+MACHINE_SOCARCH_FILTER_append_mx6q = " virtual/libgles1 virtual/libgles2 virtual/egl virtual/mesa virtual/libgl"
+MACHINE_SOCARCH_FILTER_append_mx6dl = " virtual/libgles1 virtual/libgles2 virtual/egl virtual/mesa virtual/libgl"
 
 INHERIT += "fsl-dynamic-packagearch"
 
@@ -92,9 +94,11 @@  PREFERRED_PROVIDER_virtual/libgles2_mx5 ?= "amd-gpu-${GPU_FLAVOUR}bin-mx51"
 
 # mx6 GPU libraries
 PREFERRED_PROVIDER_virtual/egl_mx6 ?= "gpu-viv-bin-mx6q"
-PREFERRED_PROVIDER_virtual/libgl_mx6 ?= "gpu-viv-bin-mx6q"
 PREFERRED_PROVIDER_virtual/libgles1_mx6 ?= "gpu-viv-bin-mx6q"
 PREFERRED_PROVIDER_virtual/libgles2_mx6 ?= "gpu-viv-bin-mx6q"
+PREFERRED_PROVIDER_virtual/libgl_mx6q = "gpu-viv-bin-mx6q"
+PREFERRED_PROVIDER_virtual/libgl_mx6dl = "gpu-viv-bin-mx6q"
+PREFERRED_PROVIDER_virtual/libgl_mx6sl = "mesa"
 
 PREFERRED_PROVIDER_virtual/kernel_mx3 ?= "linux-fslc"