https://bugs.freedesktop.org/show_bug.cgi?id=83957
Pierre Moreau changed:
What|Removed |Added
Status|NEW |NEEDINFO
--- Comment #8 from Pierre More
Hi all,
some nouveau users and developers have an issue with mmiotracing the nvidia
driver. After some digging I think it might has something todo with hugepages
and/or the
tracing infrastructure in general,
but generally I am still clueless what is causing this.
Generally it can be triggered by
should be moved into nvif though
Signed-off-by: Karol Herbst
---
drm/nouveau/include/nvif/device.h | 1 +
drm/nouveau/include/nvkm/subdev/pmu.h | 10 ++
drm/nouveau/nouveau_debugfs.c | 24
drm/nouveau/nvkm/subdev/pmu/base.c| 18 ++
we need this, because since kepler there is PCOPY2 and this is needed for the
counters later in this series
I left the copyright of the gf110.fuc4 file, because I only replaced gf110 with
gk104
Signed-off-by: Karol Herbst
---
drm/nouveau/nvkm/subdev/pmu/fuc/gk104.fuc4 | 70 +
drm/nouveau/n
this will be later used for dynamic reclocking on gt215 and newer
Signed-off-by: Karol Herbst
---
drm/nouveau/nvkm/subdev/pmu/fuc/gf100.fuc3.h | 401 +--
drm/nouveau/nvkm/subdev/pmu/fuc/gf119.fuc4.h | 735 +++
drm/nouveau/nvkm/subdev/pmu/fuc/gk104.fuc4.h | 735
Signed-off-by: Karol Herbst
---
drm/nouveau/nvkm/subdev/pmu/fuc/macros.fuc | 24
1 file changed, 24 insertions(+)
diff --git a/drm/nouveau/nvkm/subdev/pmu/fuc/macros.fuc
b/drm/nouveau/nvkm/subdev/pmu/fuc/macros.fuc
index c5ec61f..7b7afcb 100644
--- a/drm/nouveau/nvkm/su
these are usually used for dynamic reclocking on gt215 and newer
The counters are used to get the load of the core, memory, video and pcie loads
currently I expose the loads through a debugfs "current_load" file, but I want
to move that to nvif and just add a wrapper around that in debugfs for
co