2088402753
Bump version and drop local patches already merged upstream. Add Linux option needed by Linux version >= 4.20 package documentation and to .mk file that automatically adds it to Linux config when building. Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
30 lines
1.0 KiB
Plaintext
30 lines
1.0 KiB
Plaintext
comment "sunxi-mali-mainline-driver needs a Linux kernel to be built"
|
|
depends on BR2_PACKAGE_SUNXI_MALI_MAINLINE
|
|
depends on !BR2_LINUX_KERNEL
|
|
|
|
config BR2_PACKAGE_SUNXI_MALI_MAINLINE_DRIVER
|
|
bool "sunxi-mali-mainline-driver"
|
|
default y
|
|
depends on BR2_PACKAGE_SUNXI_MALI_MAINLINE # runtime
|
|
depends on BR2_LINUX_KERNEL
|
|
select BR2_LINUX_NEEDS_MODULES # not using kernel-module infra
|
|
help
|
|
This package builds and installs the Linux kernel driver for
|
|
the Mali GPU on Allwinner platforms, compatible with recent
|
|
Linux kernels (>= 4.4). Note that it should be installed
|
|
together with the corresponding userspace OpenGL libraries,
|
|
which are provided as binaries only at:
|
|
https://github.com/bootlin/mali-blobs
|
|
|
|
sunxi-mali-mainline-driver requires a Linux kernel >= 4.4
|
|
with the following options enabled:
|
|
|
|
- CONFIG_CMA
|
|
- CONFIG_DMA_CMA
|
|
|
|
starting from Linux Kernel >= 4.20 following options must be
|
|
enabled:
|
|
- CONFIG_DRM_FBDEV_LEAK_PHYS_SMEM
|
|
|
|
https://github.com/mripard/sunxi-mali/blob/master/README.md
|