Config.in 1.3 KB

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