Skip to content

gpu/arm: midgard: Add sysfs attribute to show gpu utilization

Calculate current gpu usage by below formula which provided by mali: utilisation = (100 * busy time) /max(total time, 1u) and show the gpu usage by cmd: cat /sys/devices/platform/soc/13000000.mali/gpu_utilization

Edited by Kidd Chen

Merge request reports