[PATCH v2 0/4] Add support for GPU load values
Christian Gmeiner
christian.gmeiner at gmail.com
Tue Jun 21 07:20:46 UTC 2022
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
More information about the etnaviv
mailing list