platform/drm-tests: Add mali_stats test

Add mali_stats to drm-tests. This test includes a library for accessing
Mali performance counters, along with a simple test program
demonstrating how to use it.

Notes and technical specifications on these performance counters can be
found at go/mali-perf-metrics-notes.

TEST=Tested on asurada

Change-Id: I2127b04763f6200c6197cf91dac69fb4f4903136
Reviewed-by: Fritz Koenig <>
Reviewed-by: Miguel Casas-Sanchez <>
Tested-by: Justin Green <>
Commit-Queue: Justin Green <>
10 files changed