platform/drm-tests: Update mali_stats to support rk3399

Rockchip SoCs report an older API version than Mediatek, but it works
mostly the same, so we can just change the minimum version number that
we support.

Also workaround a bug in the Midgard kbase drivers involving buffer sizes of
less than a page.

TEST=Tested on both bob and asurada

Change-Id: Ia0fdc543f2d764b2ba6abc47382bb5bd3e064925
Reviewed-by: Miguel Casas <>
Tested-by: Brian Norris <>
Reviewed-by: Miguel Casas-Sanchez <>
Commit-Queue: Justin Green <>
2 files changed