Mali-T764
The RK3288
(Rockchip; Wikipedia) includes the Mali-T764 GPU. Although the Panfrost driver should be able to drive this GPU, the problem is that the default applications use Rockchips libmali
userspace driver, which interacts with the Open Source Mali Midgard GPU Kernel Driver.
To use the Mali Midgard GPU kernel driver, download the driver tgz
from Arm's site, extract driver/product/kernel/*
into your kernel sources, and apply this patch:
Mali Midgard Version | Kernel Version | Patch |
---|---|---|
|
| |
|
|
Then, you can enable the driver using these .config
variables:
CONFIG_MALI_MIDGARD=y
CONFIG_MALI_GATOR_SUPPORT=y
CONFIG_MALI_MIDGARD_ENABLE_TRACE=y
CONFIG_MALI_DEVFREQ=y
CONFIG_MALI_DMA_FENCE=y
CONFIG_MALI_PLATFORM_NAME="devicetree"
CONFIG_MALI_EXPERT=y
CONFIG_MALI_CORESTACK=y
CONFIG_MALI_SYSTEM_TRACE=y
CONFIG_MALI_2MB_ALLOC=y
CONFIG_MALI_PWRSOFT_765=y
CONFIG_MALI_JOB_DUMP=y
CONFIG_MALI_PRFCNT_SET_SECONDARY=y
When you compile the kernel, the Mali Midgard Driver will now be compiled into the kernel (not as a module).
Last modified: 08 November 2024