The power sensors can be configured to sample the readout values over time.
Nvidia does this too, so nouveau should probably do that too.

v2: use list_del and rework an error message

Karol Herbst (4):
  iccsense: remove read function
  iccsense: convert to linked list
  iccsense: split sensor into own struct
  iccsense: configure sensors like nvidia does

 drm/nouveau/include/nvkm/subdev/iccsense.h |   6 +-
 drm/nouveau/nouveau_hwmon.c                |   2 +-
 drm/nouveau/nvkm/subdev/iccsense/base.c    | 249 +++++++++++++++++++++--------
 drm/nouveau/nvkm/subdev/iccsense/priv.h    |  16 +-
 4 files changed, 201 insertions(+), 72 deletions(-)

-- 
2.7.4

_______________________________________________
Nouveau mailing list
Nouveau@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/nouveau

Reply via email to