aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTom Hochstein <tom.hochstein@nxp.com>2020-04-21 14:06:05 -0500
committerOtavio Salvador <otavio@ossystems.com.br>2020-04-24 14:00:40 -0300
commitc0df3dd0717a7d799993f571daa9d226c432c0b9 (patch)
treea9e831e7e8dece4fe9a792dcf32432fbf817ccad
parent26259163b3e3bb62a2620744165942c524aeefc7 (diff)
downloadmeta-freescale-c0df3dd0717a7d799993f571daa9d226c432c0b9.tar.gz
meta-freescale-c0df3dd0717a7d799993f571daa9d226c432c0b9.tar.bz2
meta-freescale-c0df3dd0717a7d799993f571daa9d226c432c0b9.zip
waffle: Disable GBM support for i.MX 6 and 7 GPU
GBM is not available on i.MX 6 and 7 GPU, so disable support. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> (cherry picked from commit f43fa899d28e1950543a05a2c903a530d7b006f2)
-rw-r--r--recipes-graphics/waffle/waffle_%.bbappend14
1 files changed, 9 insertions, 5 deletions
diff --git a/recipes-graphics/waffle/waffle_%.bbappend b/recipes-graphics/waffle/waffle_%.bbappend
index caef3a1e..60825b6f 100644
--- a/recipes-graphics/waffle/waffle_%.bbappend
+++ b/recipes-graphics/waffle/waffle_%.bbappend
@@ -1,7 +1,11 @@
-PACKAGECONFIG_X11 = ""
-PACKAGECONFIG_X11_append_imxgpu3d = " x11-egl glx"
+PACKAGECONFIG_IMXGPU_X11 = ""
+PACKAGECONFIG_IMXGPU_X11_imxgpu3d = "x11-egl glx"
+PACKAGECONFIG_IMXGPU_GBM = "gbm"
+PACKAGECONFIG_IMXGPU_GBM_mx6 = ""
+PACKAGECONFIG_IMXGPU_GBM_mx7 = ""
PACKAGECONFIG_imxgpu = " \
- ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'gbm wayland', \
- bb.utils.contains('DISTRO_FEATURES', 'x11', '${PACKAGECONFIG_X11}', \
- '', d), d)} \
+ ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland', \
+ bb.utils.contains('DISTRO_FEATURES', 'x11', '${PACKAGECONFIG_IMXGPU_X11}', \
+ '', d), d)} \
+ ${PACKAGECONFIG_IMXGPU_GBM} \
"