When UMP_LOCK_ENABLED is not in use, memory allocation is done without UMP_REF_DRV_CONSTRAINT_USE_CACHE flag:
https://github.com/linux-sunxi/xf86-video-mali/blob/r3p0-04rel0/src/mali_exa.c#L312
As a result, fallbacks to software rendering have to work with uncached memory, which is an order of magnitude slower. The missing header "umplock_ioctl.h" can be snatched from the kernel sources.
When UMP_LOCK_ENABLED is not in use, memory allocation is done without UMP_REF_DRV_CONSTRAINT_USE_CACHE flag:
https://github.com/linux-sunxi/xf86-video-mali/blob/r3p0-04rel0/src/mali_exa.c#L312
As a result, fallbacks to software rendering have to work with uncached memory, which is an order of magnitude slower. The missing header "umplock_ioctl.h" can be snatched from the kernel sources.