summaryrefslogtreecommitdiffstats
path: root/conf
diff options
context:
space:
mode:
authorTom Hochstein <tom.hochstein@nxp.com>2018-06-22 15:17:18 -0500
committerOtavio Salvador <otavio@ossystems.com.br>2018-06-29 14:16:53 -0300
commit92d5d69262eac2f397769c3f351001c92f675b1f (patch)
tree58a9c84655f49bedbcccc90c6e168e810ab08827 /conf
parent36b1840a853ed1b2d766b06b6644692e7f95d398 (diff)
downloadmeta-freescale-92d5d69262eac2f397769c3f351001c92f675b1f.tar.gz
imx-base.inc: Add imxgpu to MACHINEOVERRIDES_EXTENDER
Add imxgpu to simplify the conditional for imxgpu2d OR imxgpu3d. Note that i.MX 8MQ has no 2D, so the previous idiom of using imxgpu2d to mean any GPU is no longer correct. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Diffstat (limited to 'conf')
-rw-r--r--conf/machine/include/imx-base.inc32
1 files changed, 16 insertions, 16 deletions
diff --git a/conf/machine/include/imx-base.inc b/conf/machine/include/imx-base.inc
index 2a2ead21..d14cd53f 100644
--- a/conf/machine/include/imx-base.inc
+++ b/conf/machine/include/imx-base.inc
@@ -57,15 +57,15 @@ DEFAULTTUNE_vf ?= "cortexa5thf-neon"
57INHERIT += "machine-overrides-extender" 57INHERIT += "machine-overrides-extender"
58 58
59MACHINEOVERRIDES_EXTENDER_mx25 = "use-mainline-bsp" 59MACHINEOVERRIDES_EXTENDER_mx25 = "use-mainline-bsp"
60MACHINEOVERRIDES_EXTENDER_mx6q = "imxipu:imxvpu:imxgpu2d:imxgpu3d" 60MACHINEOVERRIDES_EXTENDER_mx6q = "imxipu:imxvpu:imxgpu:imxgpu2d:imxgpu3d"
61MACHINEOVERRIDES_EXTENDER_mx6dl = "imxpxp:imxipu:imxvpu:imxgpu2d:imxgpu3d:imxepdc" 61MACHINEOVERRIDES_EXTENDER_mx6dl = "imxpxp:imxipu:imxvpu:imxgpu:imxgpu2d:imxgpu3d:imxepdc"
62MACHINEOVERRIDES_EXTENDER_mx6sx = "imxpxp:imxgpu2d:imxgpu3d" 62MACHINEOVERRIDES_EXTENDER_mx6sx = "imxpxp:imxgpu:imxgpu2d:imxgpu3d"
63MACHINEOVERRIDES_EXTENDER_mx6sl = "imxpxp:imxgpu2d:imxepdc" 63MACHINEOVERRIDES_EXTENDER_mx6sl = "imxpxp:imxgpu:imxgpu2d:imxepdc"
64MACHINEOVERRIDES_EXTENDER_mx6sll = "imxpxp:imxepdc" 64MACHINEOVERRIDES_EXTENDER_mx6sll = "imxpxp:imxepdc"
65MACHINEOVERRIDES_EXTENDER_mx6ul = "imxpxp" 65MACHINEOVERRIDES_EXTENDER_mx6ul = "imxpxp"
66MACHINEOVERRIDES_EXTENDER_mx6ull = "imxpxp:imxepdc" 66MACHINEOVERRIDES_EXTENDER_mx6ull = "imxpxp:imxepdc"
67MACHINEOVERRIDES_EXTENDER_mx7d = "imxpxp:imxepdc" 67MACHINEOVERRIDES_EXTENDER_mx7d = "imxpxp:imxepdc"
68MACHINEOVERRIDES_EXTENDER_mx7ulp = "imxpxp:imxgpu2d:imxgpu3d" 68MACHINEOVERRIDES_EXTENDER_mx7ulp = "imxpxp:imxgpu:imxgpu2d:imxgpu3d"
69 69
70MACHINEOVERRIDES_EXTENDER_FILTER_OUT_use-mainline-bsp = " \ 70MACHINEOVERRIDES_EXTENDER_FILTER_OUT_use-mainline-bsp = " \
71 mx6 \ 71 mx6 \
@@ -110,13 +110,9 @@ MACHINE_SOCARCH_FILTER_append_imxvpu = " \
110 imx-vpuwrap \ 110 imx-vpuwrap \
111 libimxvpuapi \ 111 libimxvpuapi \
112" 112"
113MACHINE_SOCARCH_FILTER_append_imxgpu2d = " \ 113MACHINE_SOCARCH_FILTER_append_imxgpu = " \
114 virtual/egl \ 114 virtual/egl \
115 virtual/mesa \ 115 virtual/mesa \
116 virtual/libg2d \
117 virtual/libgl \
118 virtual/libgles1 \
119 virtual/libgles2 \
120 virtual/libopenvg \ 116 virtual/libopenvg \
121 libdrm \ 117 libdrm \
122 cairo \ 118 cairo \
@@ -125,6 +121,14 @@ MACHINE_SOCARCH_FILTER_append_imxgpu2d = " \
125 pango \ 121 pango \
126 weston \ 122 weston \
127" 123"
124MACHINE_SOCARCH_FILTER_append_imxgpu2d = " \
125 virtual/libg2d \
126"
127MACHINE_SOCARCH_FILTER_append_imxgpu3d = " \
128 virtual/libgl \
129 virtual/libgles1 \
130 virtual/libgles2 \
131"
128MACHINE_SOCARCH_FILTER_append_use-mainline-bsp = " \ 132MACHINE_SOCARCH_FILTER_append_use-mainline-bsp = " \
129 virtual/egl \ 133 virtual/egl \
130 virtual/libopenvg \ 134 virtual/libopenvg \
@@ -192,12 +196,8 @@ MACHINE_GSTREAMER_1_0_PLUGIN_mx6ull ?= "gstreamer1.0-plugins-imx-meta"
192MACHINE_GSTREAMER_1_0_PLUGIN_mx7d ?= "gstreamer1.0-plugins-imx-meta" 196MACHINE_GSTREAMER_1_0_PLUGIN_mx7d ?= "gstreamer1.0-plugins-imx-meta"
193 197
194# Determines if the SoC has support for Vivante kernel driver 198# Determines if the SoC has support for Vivante kernel driver
195SOC_HAS_VIVANTE_KERNEL_DRIVER_SUPPORT = "0" 199SOC_HAS_VIVANTE_KERNEL_DRIVER_SUPPORT = "0"
196SOC_HAS_VIVANTE_KERNEL_DRIVER_SUPPORT_mx6q = "1" 200SOC_HAS_VIVANTE_KERNEL_DRIVER_SUPPORT_imxgpu = "1"
197SOC_HAS_VIVANTE_KERNEL_DRIVER_SUPPORT_mx6dl = "1"
198SOC_HAS_VIVANTE_KERNEL_DRIVER_SUPPORT_mx6sx = "1"
199SOC_HAS_VIVANTE_KERNEL_DRIVER_SUPPORT_mx6sl = "1"
200SOC_HAS_VIVANTE_KERNEL_DRIVER_SUPPORT_mx7ulp = "1"
201 201
202# Handle Vivante kernel driver setting: 202# Handle Vivante kernel driver setting:
203# 0 - machine does not have Vivante GPU driver support 203# 0 - machine does not have Vivante GPU driver support