summaryrefslogtreecommitdiffstats
path: root/conf/machine
diff options
context:
space:
mode:
authorTom Hochstein <tom.hochstein@nxp.com>2018-07-30 14:41:47 -0500
committerOtavio Salvador <otavio@ossystems.com.br>2018-08-02 17:27:23 -0300
commitf718ae3fc01f77b6497280456529b58553c28d08 (patch)
tree81bf603931e45fa7f68a9291509dcf2980b22ec2 /conf/machine
parent14bdf80559d4e9827f77985179f64736f5cf3618 (diff)
downloadmeta-freescale-f718ae3fc01f77b6497280456529b58553c28d08.tar.gz
imx-base.inc: Simplify preferred providers for graphics
Replace SOC-specific overrides with feature overrides. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Diffstat (limited to 'conf/machine')
-rw-r--r--conf/machine/include/imx-base.inc57
1 files changed, 11 insertions, 46 deletions
diff --git a/conf/machine/include/imx-base.inc b/conf/machine/include/imx-base.inc
index ef012820..84a6acef 100644
--- a/conf/machine/include/imx-base.inc
+++ b/conf/machine/include/imx-base.inc
@@ -210,52 +210,17 @@ SOC_HAS_VIVANTE_KERNEL_DRIVER_SUPPORT_imxgpu = "1"
210# 1 - machine has Vivante GPU driver support 210# 1 - machine has Vivante GPU driver support
211MACHINE_HAS_VIVANTE_KERNEL_DRIVER_SUPPORT ?= "${SOC_HAS_VIVANTE_KERNEL_DRIVER_SUPPORT}" 211MACHINE_HAS_VIVANTE_KERNEL_DRIVER_SUPPORT ?= "${SOC_HAS_VIVANTE_KERNEL_DRIVER_SUPPORT}"
212 212
213# GPU libraries 213# Graphics libraries
214PREFERRED_PROVIDER_virtual/egl_mx6q ?= "imx-gpu-viv" 214PREFERRED_PROVIDER_virtual/egl ?= "mesa"
215PREFERRED_PROVIDER_virtual/egl_mx6dl ?= "imx-gpu-viv" 215PREFERRED_PROVIDER_virtual/libgl ?= "mesa"
216PREFERRED_PROVIDER_virtual/egl_mx6sx ?= "imx-gpu-viv" 216PREFERRED_PROVIDER_virtual/libgles1 ?= "mesa"
217PREFERRED_PROVIDER_virtual/egl_mx6sl ?= "imx-gpu-viv" 217PREFERRED_PROVIDER_virtual/libgles2 ?= "mesa"
218PREFERRED_PROVIDER_virtual/egl_mx6sll ?= "mesa" 218
219PREFERRED_PROVIDER_virtual/egl_mx6ul ?= "mesa" 219PREFERRED_PROVIDER_virtual/egl_imxgpu ?= "imx-gpu-viv"
220PREFERRED_PROVIDER_virtual/egl_mx6ull ?= "mesa" 220PREFERRED_PROVIDER_virtual/libgl_imxgpu3d ?= "imx-gpu-viv"
221PREFERRED_PROVIDER_virtual/egl_mx7ulp ?= "imx-gpu-viv" 221PREFERRED_PROVIDER_virtual/libgles1_imxgpu3d ?= "imx-gpu-viv"
222PREFERRED_PROVIDER_virtual/egl_mx8mq ?= "imx-gpu-viv" 222PREFERRED_PROVIDER_virtual/libgles2_imxgpu3d ?= "imx-gpu-viv"
223 223PREFERRED_PROVIDER_virtual/libg2d ?= "imx-gpu-g2d"
224PREFERRED_PROVIDER_virtual/libgles1_mx6q ?= "imx-gpu-viv"
225PREFERRED_PROVIDER_virtual/libgles1_mx6dl ?= "imx-gpu-viv"
226PREFERRED_PROVIDER_virtual/libgles1_mx6sx ?= "imx-gpu-viv"
227PREFERRED_PROVIDER_virtual/libgles1_mx6sl ?= "mesa"
228PREFERRED_PROVIDER_virtual/libgles1_mx6sll ?= "mesa"
229PREFERRED_PROVIDER_virtual/libgles1_mx6ul ?= "mesa"
230PREFERRED_PROVIDER_virtual/libgles1_mx6ull ?= "mesa"
231PREFERRED_PROVIDER_virtual/libgles1_mx7ulp ?= "imx-gpu-viv"
232PREFERRED_PROVIDER_virtual/libgles1_mx8mq ?= "imx-gpu-viv"
233
234PREFERRED_PROVIDER_virtual/libgles2_mx6q ?= "imx-gpu-viv"
235PREFERRED_PROVIDER_virtual/libgles2_mx6dl ?= "imx-gpu-viv"
236PREFERRED_PROVIDER_virtual/libgles2_mx6sx ?= "imx-gpu-viv"
237PREFERRED_PROVIDER_virtual/libgles2_mx6sl ?= "mesa"
238PREFERRED_PROVIDER_virtual/libgles2_mx6sll ?= "mesa"
239PREFERRED_PROVIDER_virtual/libgles2_mx6ul ?= "mesa"
240PREFERRED_PROVIDER_virtual/libgles2_mx6ull ?= "mesa"
241PREFERRED_PROVIDER_virtual/libgles2_mx7ulp ?= "imx-gpu-viv"
242PREFERRED_PROVIDER_virtual/libgles2_mx8mq ?= "imx-gpu-viv"
243
244PREFERRED_PROVIDER_virtual/libgl_mx6q ?= "imx-gpu-viv"
245PREFERRED_PROVIDER_virtual/libgl_mx6dl ?= "imx-gpu-viv"
246PREFERRED_PROVIDER_virtual/libgl_mx6sx ?= "imx-gpu-viv"
247PREFERRED_PROVIDER_virtual/libgl_mx6sl ?= "mesa"
248PREFERRED_PROVIDER_virtual/libgl_mx6sll ?= "mesa"
249PREFERRED_PROVIDER_virtual/libgl_mx6ul ?= "mesa"
250PREFERRED_PROVIDER_virtual/libgl_mx6ull ?= "mesa"
251PREFERRED_PROVIDER_virtual/libgl_mx7ulp ?= "imx-gpu-viv"
252PREFERRED_PROVIDER_virtual/libgl_mx8mq ?= "imx-gpu-viv"
253
254PREFERRED_PROVIDER_virtual/libg2d_mx6 ?= "imx-gpu-g2d"
255PREFERRED_PROVIDER_virtual/libg2d_mx6sll ?= ""
256PREFERRED_PROVIDER_virtual/libg2d_mx6ul = ""
257PREFERRED_PROVIDER_virtual/libg2d_mx6ull = ""
258PREFERRED_PROVIDER_virtual/libg2d_mx7ulp ?= "imx-gpu-viv"
259 224
260PREFERRED_VERSION_weston_mx6 ?= "4.0.0.imx" 225PREFERRED_VERSION_weston_mx6 ?= "4.0.0.imx"
261PREFERRED_VERSION_weston_mx7 ?= "4.0.0.imx" 226PREFERRED_VERSION_weston_mx7 ?= "4.0.0.imx"