summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/nouveau/include/nvif/device.h
diff options
context:
space:
mode:
authorKarol Herbst <nouveau@karolherbst.de>2015-09-20 14:40:27 +0200
committerBen Skeggs <bskeggs@redhat.com>2016-01-11 11:28:26 +1000
commit2e7db87dee8f4a731a560b1f6a2bc588f78823bf (patch)
treefad6e6a8cfcd6b4a647e59f0d432f754cfcdeff0 /drivers/gpu/drm/nouveau/include/nvif/device.h
parentfcc95ce90fdd00b48252fe971ae1ea950bc63562 (diff)
downloadlinux-2e7db87dee8f4a731a560b1f6a2bc588f78823bf.tar.bz2
drm/nouveau/nouveau/perfmon: add interface files for current core voltage
Signed-off-by: Karol Herbst <nouveau@karolherbst.de> Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/include/nvif/device.h')
-rw-r--r--drivers/gpu/drm/nouveau/include/nvif/device.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/nouveau/include/nvif/device.h b/drivers/gpu/drm/nouveau/include/nvif/device.h
index 09eaf6ae596b..e0ed2f4b2f43 100644
--- a/drivers/gpu/drm/nouveau/include/nvif/device.h
+++ b/drivers/gpu/drm/nouveau/include/nvif/device.h
@@ -63,6 +63,7 @@ u64 nvif_device_time(struct nvif_device *);
#define nvxx_clk(a) nvxx_device(a)->clk
#define nvxx_i2c(a) nvxx_device(a)->i2c
#define nvxx_therm(a) nvxx_device(a)->therm
+#define nvxx_volt(a) nvxx_device(a)->volt
#include <core/device.h>
#include <engine/fifo.h>