[Nouveau] [PATCH 0/4] Add pdaemon load counters
Karol Herbst
nouveau at karolherbst.de
Mon Oct 26 11:13:05 PDT 2015
this series makes use of the load counters we can use to get information about
the current load of the gpu.
This series includes the needed pmu bits and a debugfs interface to read them
out. Currently the values are between 0 and 255, because it is much easier to
implement it this way on the pmu.
Karol Herbst (4):
subdev/pmu/fuc: add gk104
pmu/fuc: add macros for pdaemon pwr counters
subdev/pmu/fuc: implement perf
nouveau/debugfs: add interface for current load
drm/nouveau/include/nvif/device.h | 1 +
drm/nouveau/include/nvkm/subdev/pmu.h | 10 +
drm/nouveau/nouveau_debugfs.c | 23 +
drm/nouveau/nvkm/subdev/pmu/base.c | 18 +
drm/nouveau/nvkm/subdev/pmu/fuc/gf100.fuc3.h | 788 ++++++-----
drm/nouveau/nvkm/subdev/pmu/fuc/gf119.fuc4.h | 740 +++++-----
drm/nouveau/nvkm/subdev/pmu/fuc/gk104.fuc4 | 70 +
drm/nouveau/nvkm/subdev/pmu/fuc/gk104.fuc4.h | 1869 ++++++++++++++++++++++++++
drm/nouveau/nvkm/subdev/pmu/fuc/gk208.fuc5.h | 710 ++++++----
drm/nouveau/nvkm/subdev/pmu/fuc/gt215.fuc3.h | 755 ++++++-----
drm/nouveau/nvkm/subdev/pmu/fuc/macros.fuc | 24 +
drm/nouveau/nvkm/subdev/pmu/fuc/os.h | 4 +
drm/nouveau/nvkm/subdev/pmu/fuc/perf.fuc | 148 ++
drm/nouveau/nvkm/subdev/pmu/gk104.c | 4 +-
drm/nouveau/nvkm/subdev/pmu/gk110.c | 6 +-
15 files changed, 3879 insertions(+), 1291 deletions(-)
create mode 100644 drm/nouveau/nvkm/subdev/pmu/fuc/gk104.fuc4
create mode 100644 drm/nouveau/nvkm/subdev/pmu/fuc/gk104.fuc4.h
--
2.6.2
More information about the Nouveau
mailing list