diff options
author | Otavio Salvador <otavio@ossystems.com.br> | 2015-08-11 17:32:47 -0300 |
---|---|---|
committer | Otavio Salvador <otavio@ossystems.com.br> | 2016-04-19 15:03:20 -0300 |
commit | 6d20ab47a75e6c044164c25ccaa9091b0bbc6915 (patch) | |
tree | af01fa7469e3330422279556adc796195a47aaed /conf/machine | |
parent | 2f94562bba387c7a6ba457f66f39ac976f656f9b (diff) | |
download | meta-freescale-6d20ab47a75e6c044164c25ccaa9091b0bbc6915.tar.gz |
Enable Vivante kernel driver dynamic provider
The linux-imx.inc based kernels now can dynamically provide the
Vivante kernel driver and satisfy the runtime dependency added for the
Vivante GPU user space libraries. The beauty of this solution is that
it makes ease for 3rd party kernel to reuse the same infrastructure
and use the external module easily.
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Diffstat (limited to 'conf/machine')
-rw-r--r-- | conf/machine/include/imx-base.inc | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/conf/machine/include/imx-base.inc b/conf/machine/include/imx-base.inc index f54e9b79..e0a67c7c 100644 --- a/conf/machine/include/imx-base.inc +++ b/conf/machine/include/imx-base.inc | |||
@@ -90,6 +90,18 @@ MACHINE_GSTREAMER_1_0_PLUGIN ?= "" | |||
90 | MACHINE_GSTREAMER_1_0_PLUGIN_mx6q ?= "gstreamer1.0-plugins-imx-meta" | 90 | MACHINE_GSTREAMER_1_0_PLUGIN_mx6q ?= "gstreamer1.0-plugins-imx-meta" |
91 | MACHINE_GSTREAMER_1_0_PLUGIN_mx6dl ?= "gstreamer1.0-plugins-imx-meta" | 91 | MACHINE_GSTREAMER_1_0_PLUGIN_mx6dl ?= "gstreamer1.0-plugins-imx-meta" |
92 | 92 | ||
93 | # Determines if the SoC has support for Vivante kernel driver | ||
94 | SOC_HAS_VIVANTE_KERNEL_DRIVER_SUPPORT = "0" | ||
95 | SOC_HAS_VIVANTE_KERNEL_DRIVER_SUPPORT_mx6q = "1" | ||
96 | SOC_HAS_VIVANTE_KERNEL_DRIVER_SUPPORT_mx6dl = "1" | ||
97 | SOC_HAS_VIVANTE_KERNEL_DRIVER_SUPPORT_mx6sx = "1" | ||
98 | SOC_HAS_VIVANTE_KERNEL_DRIVER_SUPPORT_mx6sl = "1" | ||
99 | |||
100 | # Handle Vivante kernel driver setting: | ||
101 | # 0 - machine does not have Vivante GPU driver support | ||
102 | # 1 - machine has Vivante GPU driver support | ||
103 | MACHINE_HAS_VIVANTE_KERNEL_DRIVER_SUPPORT ??= "${SOC_HAS_VIVANTE_KERNEL_DRIVER_SUPPORT}" | ||
104 | |||
93 | # mx6 GPU libraries | 105 | # mx6 GPU libraries |
94 | PREFERRED_PROVIDER_virtual/egl_mx6q ?= "imx-gpu-viv" | 106 | PREFERRED_PROVIDER_virtual/egl_mx6q ?= "imx-gpu-viv" |
95 | PREFERRED_PROVIDER_virtual/egl_mx6dl ?= "imx-gpu-viv" | 107 | PREFERRED_PROVIDER_virtual/egl_mx6dl ?= "imx-gpu-viv" |