Patches for Mali Midgard GPU r16p0 kernel drivers on 4.10.0-rcX kernels
Here's a list of patches required to compile the Mali Midgard GPU Kernel device drivers, after including them in 4.10.0-rcX kernels
By Myy
Here's a list of patches required to compile the Mali Midgard GPU Kernel device drivers, after including them in 4.10.0-rcX kernels :
- https://github.com/Miouyouyou/MyyQi/blob/master/patches/Mali/r16p0-00rel0/0001-Midgard-daptation-to-Linux-4.10.0-rcX-signatures.patch
- https://github.com/Miouyouyou/MyyQi/blob/master/patches/Mali/r16p0-00rel0/0002-UMP-Adapt-get_user_pages-calls.patch
- https://github.com/Miouyouyou/MyyQi/blob/master/patches/Mali/r16p0-00rel0/0003-Renamed-Kernel-DMA-Fence-structures-and-functions.patch
These patches are due to the following changes :
- dma-buf: Rename struct fence to dma_fence
Introduced in Linux : 4.9 - mm: add locked parameter to get_user_pages_remote()
Introduced in Linux : 4.10 - ktime: Get rid of the union
Introduced in Linux : 4.10 - mm: use vmf->address instead of of vmf->virtual_address
Introduced in Linux : 4.10 - mm, dax, gpu: convert vm_insert_mixed to pfn_t
Introduced in Linux : 4.5
The patches required to enable the compilation of Mali Midgard GPU drivers and UMP drivers, after copying the drivers package TX011-SW-99002-r16p0-00rel0/driver/product/kernel/ content in your linux kernel root directory, are available here .
- https://github.com/Miouyouyou/MyyQi/blob/master/patches/kernel/v4.10-rc7/0003-Post-Mali-Kernel-device-drivers-modifications.patch
- https://github.com/Miouyouyou/MyyQi/blob/master/patches/kernel/v4.10-rc7/0005-Post-Mali-UMP-integration.patch
A full kernel download, patch and compilation procedure for MiQi RK3288 ARMv7 boards is available here: https://github.com/Miouyouyou/MyyQi.
The procedure includes the download of the Linux 4.10.0-rc7 kernel and the Mali r16p0-00rel0 kernel drivers.
By Myy
Re-use is only permitted for informational and non-commercial or personal use only.
