summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/nouveau/nouveau_drv.h
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2011-06-09 13:45:31 +1000
committerBen Skeggs <bskeggs@redhat.com>2011-09-20 16:01:02 +1000
commitc3450239c78a4ef6c10da13dfc18831f43dbe0c5 (patch)
tree57a7e350bf4e7e415c2eb8fc3ea3e2b17be65283 /drivers/gpu/drm/nouveau/nouveau_drv.h
parentb6fd41e29dea9c6753b1843a77e50433e6123bcb (diff)
drm/nouveau/pm: store voltage in microvolts
Instead of 10s of millivolts, to match fermi vbios. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nouveau_drv.h')
-rw-r--r--drivers/gpu/drm/nouveau/nouveau_drv.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/gpu/drm/nouveau/nouveau_drv.h b/drivers/gpu/drm/nouveau/nouveau_drv.h
index d7d51deb34b..39d6bb313ba 100644
--- a/drivers/gpu/drm/nouveau/nouveau_drv.h
+++ b/drivers/gpu/drm/nouveau/nouveau_drv.h
@@ -414,8 +414,8 @@ struct nouveau_gpio_engine {
};
struct nouveau_pm_voltage_level {
- u8 voltage;
- u8 vid;
+ u32 voltage; /* microvolts */
+ u8 vid;
};
struct nouveau_pm_voltage {
@@ -451,8 +451,8 @@ struct nouveau_pm_level {
u32 unk05;
u32 unk0a;
- u8 voltage;
- u8 fanspeed;
+ u32 voltage; /* microvolts */
+ u8 fanspeed;
u16 memscript;
struct nouveau_pm_memtiming *timing;