drm/nouveau/hwmon: add power consumption
authorKarol Herbst <nouveau@karolherbst.de>
Thu, 18 Feb 2016 19:10:19 +0000 (20:10 +0100)
committerBen Skeggs <bskeggs@redhat.com>
Mon, 14 Mar 2016 00:13:26 +0000 (10:13 +1000)
commit353b9834402356df3e6c15d3a2c87be82e52c0df
tree04cebdf99cec1f25ef7b64fca978186b23605c76
parentb71c0892631af3dd2aea708529d282a65c683be5
drm/nouveau/hwmon: add power consumption

v2: expose only if the sensor reading is valid

Signed-off-by: Karol Herbst <nouveau@karolherbst.de>
Reviewed-by: Martin Peres <martin.peres@free.fr>
drivers/gpu/drm/nouveau/include/nvif/device.h
drivers/gpu/drm/nouveau/nouveau_hwmon.c