[PATCH v2 0/4] Add support for GPU load values

From: Christian Gmeiner
Date: Tue Jun 21 2022 - 03:21:18 EST


This patch series add support for loadavg values for GPU
sub-components. I am adding a SMA algorithm as I was not
really sure if EWMA would be a good fit for this use case.

Changes v2:
- Addressed feedback from Lucas

Christian Gmeiner (4):
drm/etnaviv: add simple moving average (SMA)
drm/etnaviv: add loadavg accounting
drm/etnaviv: show loadavg in debugfs
drm/etnaviv: export loadavg via perfmon

drivers/gpu/drm/etnaviv/etnaviv_drv.c | 14 ++++
drivers/gpu/drm/etnaviv/etnaviv_gpu.c | 76 +++++++++++++++++++++-
drivers/gpu/drm/etnaviv/etnaviv_gpu.h | 37 +++++++++++
drivers/gpu/drm/etnaviv/etnaviv_perfmon.c | 79 +++++++++++++++++++++++
drivers/gpu/drm/etnaviv/etnaviv_sma.h | 53 +++++++++++++++
5 files changed, 257 insertions(+), 2 deletions(-)
create mode 100644 drivers/gpu/drm/etnaviv/etnaviv_sma.h

--
2.36.1