reworked this series quite a lot. Now we want the Host to configure the counters through the PMU.
The series isn't complete though because it needs: 1. reordering 2. better commit messages but I felt like sending those out before doing a final version. I also found some weird register overwriting issue on the PMU I have to track down, because it interfers with the counter read out. I am quite sure it is not cause by any of my changes. Anyway this feature is required for implementing dynamic reclocking. As a side effect it shows us a coarse load of several engines, allthough the counters can only report "idle" or "non-idle". Karol Herbst (6): pmu/fuc: add macros for pdaemon pwr counters pmu/fuc: read out counters and store them pmu/fuc: implement GET_SLOTS pmu/fuc: implement SET_SLOT nouveau/debugfs: add interface for current load pmu: setup counters 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 | 8 + drm/nouveau/nvkm/subdev/pmu/fuc/gf100.fuc3.h | 838 ++++++++++++++++----------- drm/nouveau/nvkm/subdev/pmu/fuc/gf119.fuc4.h | 780 +++++++++++++++---------- drm/nouveau/nvkm/subdev/pmu/fuc/gk208.fuc5.h | 732 +++++++++++++---------- drm/nouveau/nvkm/subdev/pmu/fuc/gt215.fuc3.h | 736 +++++++++++++---------- drm/nouveau/nvkm/subdev/pmu/fuc/macros.fuc | 8 + drm/nouveau/nvkm/subdev/pmu/fuc/os.h | 4 + drm/nouveau/nvkm/subdev/pmu/fuc/perf.fuc | 157 +++++ drm/nouveau/nvkm/subdev/pmu/gf100.c | 2 + drm/nouveau/nvkm/subdev/pmu/gf119.c | 2 + drm/nouveau/nvkm/subdev/pmu/gk104.c | 2 + drm/nouveau/nvkm/subdev/pmu/gk110.c | 2 + drm/nouveau/nvkm/subdev/pmu/gk208.c | 2 + drm/nouveau/nvkm/subdev/pmu/gm107.c | 2 + drm/nouveau/nvkm/subdev/pmu/gt215.c | 70 +++ drm/nouveau/nvkm/subdev/pmu/priv.h | 4 + 19 files changed, 2122 insertions(+), 1261 deletions(-) -- 2.12.2 _______________________________________________ Nouveau mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/nouveau
