1comment "sunxi-mali-mainline-driver needs a Linux kernel to be built" 2 depends on BR2_PACKAGE_SUNXI_MALI_MAINLINE 3 depends on !BR2_LINUX_KERNEL 4 5config BR2_PACKAGE_SUNXI_MALI_MAINLINE_DRIVER 6 bool "sunxi-mali-mainline-driver" 7 default y 8 depends on BR2_PACKAGE_SUNXI_MALI_MAINLINE # runtime 9 depends on BR2_LINUX_KERNEL 10 select BR2_LINUX_NEEDS_MODULES # not using kernel-module infra 11 help 12 This package builds and installs the Linux kernel driver for 13 the Mali GPU on Allwinner platforms, compatible with recent 14 Linux kernels (>= 4.4). Note that it should be installed 15 together with the corresponding userspace OpenGL libraries, 16 which are provided as binaries only at: 17 https://github.com/bootlin/mali-blobs 18 19 sunxi-mali-mainline-driver requires a Linux kernel >= 4.4 20 with the following options enabled: 21 22 - CONFIG_CMA 23 - CONFIG_DMA_CMA 24 25 starting from Linux Kernel >= 4.20 following options must be 26 enabled: 27 - CONFIG_DRM_FBDEV_LEAK_PHYS_SMEM 28 29 The following kernel command line options must be passed: 30 31 - drm_kms_helper.drm_leak_fbdev_smem = 1 32 since drm_kms_helper.drm_leak_fbdev_smem is set to 0 by 33 default 34 35 - drm_kms_helper.drm_fbdev_overalloc >= 200 36 since the driver requires at least double buffering and 37 fails to work with the default value(100). 38 39 https://github.com/mripard/sunxi-mali/blob/master/README.md 40