mirror of
https://github.com/linux-sunxi/meta-sunxi.git
synced 2025-07-13 06:24:26 +02:00
Enable open source GPU support
Enable open source GPU support for Mali Utgard GPUs (lima driver) and Mali Midgard and Bifrost GPUs (panfrost driver). The support is enabled by: - enabling DRM kernel CONFIGs - enabling lima, panfrost and kmsro in Mesa - disabling the specific mali driver overrides in sunxi-mali.inc To enable open source mainline graphics support just add the following line in your local.conf: MACHINEOVERRIDES .= ":use-mailine-graphics" Please note that some machines may need a bigger CMA value to be able to start Weston. To do that, add e.g. "cma=128M" to the kernel parameters. Signed-off-by: Diego Rondini <diego.rondini@kynetics.com>
This commit is contained in:
8
recipes-kernel/linux/linux-mainline/drm.cfg
Normal file
8
recipes-kernel/linux/linux-mainline/drm.cfg
Normal file
@ -0,0 +1,8 @@
|
||||
CONFIG_DRM=y
|
||||
CONFIG_DRM_SUN4I=y
|
||||
CONFIG_DRM_SUN8I_DW_HDMI=y
|
||||
CONFIG_DRM_SUN8I_MIXER=y
|
||||
CONFIG_DRM_LIMA=y
|
||||
CONFIG_DRM_PANFROST=y
|
||||
CONFIG_CMA=y
|
||||
CONFIG_DMA_CMA=y
|
Reference in New Issue
Block a user