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 :
These patches are due to the following changes :
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 .
TX011-SW-99002-r16p0-00rel0/driver/product/kernel/
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.