diff options
author | Tom Hochstein <tom.hochstein@nxp.com> | 2018-06-22 15:17:18 -0500 |
---|---|---|
committer | Otavio Salvador <otavio@ossystems.com.br> | 2018-06-29 14:16:53 -0300 |
commit | 92d5d69262eac2f397769c3f351001c92f675b1f (patch) | |
tree | 58a9c84655f49bedbcccc90c6e168e810ab08827 /conf | |
parent | 36b1840a853ed1b2d766b06b6644692e7f95d398 (diff) | |
download | meta-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.inc | 32 |
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" | |||
57 | INHERIT += "machine-overrides-extender" | 57 | INHERIT += "machine-overrides-extender" |
58 | 58 | ||
59 | MACHINEOVERRIDES_EXTENDER_mx25 = "use-mainline-bsp" | 59 | MACHINEOVERRIDES_EXTENDER_mx25 = "use-mainline-bsp" |
60 | MACHINEOVERRIDES_EXTENDER_mx6q = "imxipu:imxvpu:imxgpu2d:imxgpu3d" | 60 | MACHINEOVERRIDES_EXTENDER_mx6q = "imxipu:imxvpu:imxgpu:imxgpu2d:imxgpu3d" |
61 | MACHINEOVERRIDES_EXTENDER_mx6dl = "imxpxp:imxipu:imxvpu:imxgpu2d:imxgpu3d:imxepdc" | 61 | MACHINEOVERRIDES_EXTENDER_mx6dl = "imxpxp:imxipu:imxvpu:imxgpu:imxgpu2d:imxgpu3d:imxepdc" |
62 | MACHINEOVERRIDES_EXTENDER_mx6sx = "imxpxp:imxgpu2d:imxgpu3d" | 62 | MACHINEOVERRIDES_EXTENDER_mx6sx = "imxpxp:imxgpu:imxgpu2d:imxgpu3d" |
63 | MACHINEOVERRIDES_EXTENDER_mx6sl = "imxpxp:imxgpu2d:imxepdc" | 63 | MACHINEOVERRIDES_EXTENDER_mx6sl = "imxpxp:imxgpu:imxgpu2d:imxepdc" |
64 | MACHINEOVERRIDES_EXTENDER_mx6sll = "imxpxp:imxepdc" | 64 | MACHINEOVERRIDES_EXTENDER_mx6sll = "imxpxp:imxepdc" |
65 | MACHINEOVERRIDES_EXTENDER_mx6ul = "imxpxp" | 65 | MACHINEOVERRIDES_EXTENDER_mx6ul = "imxpxp" |
66 | MACHINEOVERRIDES_EXTENDER_mx6ull = "imxpxp:imxepdc" | 66 | MACHINEOVERRIDES_EXTENDER_mx6ull = "imxpxp:imxepdc" |
67 | MACHINEOVERRIDES_EXTENDER_mx7d = "imxpxp:imxepdc" | 67 | MACHINEOVERRIDES_EXTENDER_mx7d = "imxpxp:imxepdc" |
68 | MACHINEOVERRIDES_EXTENDER_mx7ulp = "imxpxp:imxgpu2d:imxgpu3d" | 68 | MACHINEOVERRIDES_EXTENDER_mx7ulp = "imxpxp:imxgpu:imxgpu2d:imxgpu3d" |
69 | 69 | ||
70 | MACHINEOVERRIDES_EXTENDER_FILTER_OUT_use-mainline-bsp = " \ | 70 | MACHINEOVERRIDES_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 | " |
113 | MACHINE_SOCARCH_FILTER_append_imxgpu2d = " \ | 113 | MACHINE_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 | " |
124 | MACHINE_SOCARCH_FILTER_append_imxgpu2d = " \ | ||
125 |  virtual/libg2d \ | ||
126 | " | ||
127 | MACHINE_SOCARCH_FILTER_append_imxgpu3d = " \ | ||
128 | virtual/libgl \ | ||
129 | virtual/libgles1 \ | ||
130 | virtual/libgles2 \ | ||
131 | " | ||
128 | MACHINE_SOCARCH_FILTER_append_use-mainline-bsp = " \ | 132 | MACHINE_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" | |||
192 | MACHINE_GSTREAMER_1_0_PLUGIN_mx7d ?= "gstreamer1.0-plugins-imx-meta" | 196 | MACHINE_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 |
195 | SOC_HAS_VIVANTE_KERNEL_DRIVER_SUPPORT = "0" | 199 | SOC_HAS_VIVANTE_KERNEL_DRIVER_SUPPORT = "0" |
196 | SOC_HAS_VIVANTE_KERNEL_DRIVER_SUPPORT_mx6q = "1" | 200 | SOC_HAS_VIVANTE_KERNEL_DRIVER_SUPPORT_imxgpu = "1" |
197 | SOC_HAS_VIVANTE_KERNEL_DRIVER_SUPPORT_mx6dl = "1" | ||
198 | SOC_HAS_VIVANTE_KERNEL_DRIVER_SUPPORT_mx6sx = "1" | ||
199 | SOC_HAS_VIVANTE_KERNEL_DRIVER_SUPPORT_mx6sl = "1" | ||
200 | SOC_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 |