[meta-freescale] [PATCH v2 0/6] Dynamically choose between built-in or external Vivante GPU kernel driver

Otavio Salvador otavio at ossystems.com.br
Thu Aug 20 17:54:48 PDT 2015


This patchset implements support to dynamically choose between
built-in or external Vivante GPU kernel driver.

By default, the external Vivante GPU kernel module is used, however
every machine can have its own choice for this, or distros can
override the default value if needed.

The following options are supported:

  MACHINE_HAS_VIVANTE_KERNEL_DRIVER_SUPPORT

     Machine does or does not have support for the Vivante kernel
     driver, options are:

       0 - machine does not have Vivante GPU driver support
       1 - machine has Vivante GPU driver support

  MACHINE_USES_VIVANTE_KERNEL_DRIVER_MODULE

      Machine uses the Vivante kernel driver as module, options are:

       0 - enable the builtin kernel driver module
       1 - enable the external kernel module

The patches included in this patchset are:

Changes in v3:
- improve class documentation and commit log according to Ann suggestions
- New patch

Changes in v2:
- Improve commit log (Daiane)
- improve commit log and class documentation for
  MACHINE_HAS_VIVANTE_KERNEL_DRIVER_SUPPORT (Daiane)
- Improve commit log and patch header for clearness (Daiane)

Lauren Post (1):
  kernel-module-imx-gpu-viv: Kernel loadable modules for 5.0.11.p6.3

Otavio Salvador (5):
  kernel-module-mcc: move to kernel-modules subdir
  fsl-vivante-kernel-driver-handler.bbclass: Handle Vivante kernel
    driver provider
  Enable Vivante kernel driver dynamic provider
  linux-fslc-mx6: Bump revision to 2574f81
  kernel-module-imx-gpu-viv: Fix build against 3.14-based kernels

 classes/fsl-vivante-kernel-driver-handler.bbclass  | 69 ++++++++++++++++++++++
 recipes-graphics/imx-gpu-viv/imx-gpu-viv.inc       |  1 +
 ...x-kernel-version-check-for-3.14-based-ker.patch | 35 +++++++++++
 .../kernel-module-imx-gpu-viv_5.0.11.p6.3.bb       | 17 ++++++
 ...h-Only-include-mvf_sema4.h-if-building-in.patch |  0
 .../kernel-module-mcc_1.06.bb                      |  0
 recipes-kernel/linux/linux-fslc-mx6_3.14-1.0.x.bb  |  2 +-
 recipes-kernel/linux/linux-imx.inc                 |  2 +-
 8 files changed, 124 insertions(+), 2 deletions(-)
 create mode 100644 classes/fsl-vivante-kernel-driver-handler.bbclass
 create mode 100644 recipes-kernel/kernel-modules/kernel-module-imx-gpu-viv/platform-Fix-kernel-version-check-for-3.14-based-ker.patch
 create mode 100644 recipes-kernel/kernel-modules/kernel-module-imx-gpu-viv_5.0.11.p6.3.bb
 rename recipes-kernel/{kernel-module-mcc => kernel-modules}/kernel-module-mcc/mcc_config.h-Only-include-mvf_sema4.h-if-building-in.patch (100%)
 rename recipes-kernel/{kernel-module-mcc => kernel-modules}/kernel-module-mcc_1.06.bb (100%)

-- 
2.5.0



More information about the meta-freescale mailing list