c8324bf87c
This package provides a Mali kernel driver for Sunxi Mali Utgard GPUs. The trailing -mainline is historical and was used at a time when there was two packages providing this driver. The "non-upstream" package has been removed some time ago so before adding new packages bringing support for other ARM Mali GPU versions or implementations, rename sunxi-mali-mainline-driver into sunxi-mali-utgard-driver. Add a legacy entry. Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com> Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com> [Giulio: rebase on master. Add legacy entry instead of substituting the blob's one] Reviewed-by: Luca Ceresoli <luca@lucaceresoli.net> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
40 lines
1.3 KiB
Plaintext
40 lines
1.3 KiB
Plaintext
comment "sunxi-mali-utgard-driver needs a Linux kernel to be built"
|
|
depends on BR2_PACKAGE_SUNXI_MALI_UTGARD
|
|
depends on !BR2_LINUX_KERNEL
|
|
|
|
config BR2_PACKAGE_SUNXI_MALI_UTGARD_DRIVER
|
|
bool "sunxi-mali-utgard-driver"
|
|
default y
|
|
depends on BR2_PACKAGE_SUNXI_MALI_UTGARD # 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 Utgard 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-utgard-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
|
|
|
|
The following kernel command line options must be passed:
|
|
|
|
- drm_kms_helper.drm_leak_fbdev_smem = 1
|
|
since drm_kms_helper.drm_leak_fbdev_smem is set to 0 by
|
|
default
|
|
|
|
- drm_kms_helper.drm_fbdev_overalloc >= 200
|
|
since the driver requires at least double buffering and
|
|
fails to work with the default value(100).
|
|
|
|
https://github.com/mripard/sunxi-mali/blob/master/README.md
|