diff options
author | Tom Hochstein <tom.hochstein@nxp.com> | 2018-07-30 14:41:47 -0500 |
---|---|---|
committer | Otavio Salvador <otavio@ossystems.com.br> | 2018-08-02 17:27:23 -0300 |
commit | f718ae3fc01f77b6497280456529b58553c28d08 (patch) | |
tree | 81bf603931e45fa7f68a9291509dcf2980b22ec2 | |
parent | 14bdf80559d4e9827f77985179f64736f5cf3618 (diff) | |
download | meta-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>
-rw-r--r-- | conf/machine/include/imx-base.inc | 57 |
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 |
211 | MACHINE_HAS_VIVANTE_KERNEL_DRIVER_SUPPORT ?= "${SOC_HAS_VIVANTE_KERNEL_DRIVER_SUPPORT}" | 211 | MACHINE_HAS_VIVANTE_KERNEL_DRIVER_SUPPORT ?= "${SOC_HAS_VIVANTE_KERNEL_DRIVER_SUPPORT}" |
212 | 212 | ||
213 | # GPU libraries | 213 | # Graphics libraries |
214 | PREFERRED_PROVIDER_virtual/egl_mx6q ?= "imx-gpu-viv" | 214 | PREFERRED_PROVIDER_virtual/egl ?= "mesa" |
215 | PREFERRED_PROVIDER_virtual/egl_mx6dl ?= "imx-gpu-viv" | 215 | PREFERRED_PROVIDER_virtual/libgl ?= "mesa" |
216 | PREFERRED_PROVIDER_virtual/egl_mx6sx ?= "imx-gpu-viv" | 216 | PREFERRED_PROVIDER_virtual/libgles1 ?= "mesa" |
217 | PREFERRED_PROVIDER_virtual/egl_mx6sl ?= "imx-gpu-viv" | 217 | PREFERRED_PROVIDER_virtual/libgles2 ?= "mesa" |
218 | PREFERRED_PROVIDER_virtual/egl_mx6sll ?= "mesa" | 218 | |
219 | PREFERRED_PROVIDER_virtual/egl_mx6ul ?= "mesa" | 219 | PREFERRED_PROVIDER_virtual/egl_imxgpu ?= "imx-gpu-viv" |
220 | PREFERRED_PROVIDER_virtual/egl_mx6ull ?= "mesa" | 220 | PREFERRED_PROVIDER_virtual/libgl_imxgpu3d ?= "imx-gpu-viv" |
221 | PREFERRED_PROVIDER_virtual/egl_mx7ulp ?= "imx-gpu-viv" | 221 | PREFERRED_PROVIDER_virtual/libgles1_imxgpu3d ?= "imx-gpu-viv" |
222 | PREFERRED_PROVIDER_virtual/egl_mx8mq ?= "imx-gpu-viv" | 222 | PREFERRED_PROVIDER_virtual/libgles2_imxgpu3d ?= "imx-gpu-viv" |
223 | 223 | PREFERRED_PROVIDER_virtual/libg2d ?= "imx-gpu-g2d" | |
224 | PREFERRED_PROVIDER_virtual/libgles1_mx6q ?= "imx-gpu-viv" | ||
225 | PREFERRED_PROVIDER_virtual/libgles1_mx6dl ?= "imx-gpu-viv" | ||
226 | PREFERRED_PROVIDER_virtual/libgles1_mx6sx ?= "imx-gpu-viv" | ||
227 | PREFERRED_PROVIDER_virtual/libgles1_mx6sl ?= "mesa" | ||
228 | PREFERRED_PROVIDER_virtual/libgles1_mx6sll ?= "mesa" | ||
229 | PREFERRED_PROVIDER_virtual/libgles1_mx6ul ?= "mesa" | ||
230 | PREFERRED_PROVIDER_virtual/libgles1_mx6ull ?= "mesa" | ||
231 | PREFERRED_PROVIDER_virtual/libgles1_mx7ulp ?= "imx-gpu-viv" | ||
232 | PREFERRED_PROVIDER_virtual/libgles1_mx8mq ?= "imx-gpu-viv" | ||
233 | |||
234 | PREFERRED_PROVIDER_virtual/libgles2_mx6q ?= "imx-gpu-viv" | ||
235 | PREFERRED_PROVIDER_virtual/libgles2_mx6dl ?= "imx-gpu-viv" | ||
236 | PREFERRED_PROVIDER_virtual/libgles2_mx6sx ?= "imx-gpu-viv" | ||
237 | PREFERRED_PROVIDER_virtual/libgles2_mx6sl ?= "mesa" | ||
238 | PREFERRED_PROVIDER_virtual/libgles2_mx6sll ?= "mesa" | ||
239 | PREFERRED_PROVIDER_virtual/libgles2_mx6ul ?= "mesa" | ||
240 | PREFERRED_PROVIDER_virtual/libgles2_mx6ull ?= "mesa" | ||
241 | PREFERRED_PROVIDER_virtual/libgles2_mx7ulp ?= "imx-gpu-viv" | ||
242 | PREFERRED_PROVIDER_virtual/libgles2_mx8mq ?= "imx-gpu-viv" | ||
243 | |||
244 | PREFERRED_PROVIDER_virtual/libgl_mx6q ?= "imx-gpu-viv" | ||
245 | PREFERRED_PROVIDER_virtual/libgl_mx6dl ?= "imx-gpu-viv" | ||
246 | PREFERRED_PROVIDER_virtual/libgl_mx6sx ?= "imx-gpu-viv" | ||
247 | PREFERRED_PROVIDER_virtual/libgl_mx6sl ?= "mesa" | ||
248 | PREFERRED_PROVIDER_virtual/libgl_mx6sll ?= "mesa" | ||
249 | PREFERRED_PROVIDER_virtual/libgl_mx6ul ?= "mesa" | ||
250 | PREFERRED_PROVIDER_virtual/libgl_mx6ull ?= "mesa" | ||
251 | PREFERRED_PROVIDER_virtual/libgl_mx7ulp ?= "imx-gpu-viv" | ||
252 | PREFERRED_PROVIDER_virtual/libgl_mx8mq ?= "imx-gpu-viv" | ||
253 | |||
254 | PREFERRED_PROVIDER_virtual/libg2d_mx6 ?= "imx-gpu-g2d" | ||
255 | PREFERRED_PROVIDER_virtual/libg2d_mx6sll ?= "" | ||
256 | PREFERRED_PROVIDER_virtual/libg2d_mx6ul = "" | ||
257 | PREFERRED_PROVIDER_virtual/libg2d_mx6ull = "" | ||
258 | PREFERRED_PROVIDER_virtual/libg2d_mx7ulp ?= "imx-gpu-viv" | ||
259 | 224 | ||
260 | PREFERRED_VERSION_weston_mx6 ?= "4.0.0.imx" | 225 | PREFERRED_VERSION_weston_mx6 ?= "4.0.0.imx" |
261 | PREFERRED_VERSION_weston_mx7 ?= "4.0.0.imx" | 226 | PREFERRED_VERSION_weston_mx7 ?= "4.0.0.imx" |