aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/nouveau/nouveau_state.c
diff options
context:
space:
mode:
authorMartin Peres <martin.peres@ensi-bourges.fr>2011-10-21 19:40:40 -0400
committerBen Skeggs <bskeggs@redhat.com>2011-12-21 04:01:23 -0500
commit6109183794a711d80c08705d477d2a19b437d5c1 (patch)
tree608b9c82783fe2663b20b21cf193c3d0eb39dcd5 /drivers/gpu/drm/nouveau/nouveau_state.c
parent1cb9469ee7bcdc0f80a3b12a1036352039ada72f (diff)
drm/nvd0: read temperature as we did on nv84+ boards
Signed-off-by: Martin Peres <martin.peres@labri.fr> Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nouveau_state.c')
-rw-r--r--drivers/gpu/drm/nouveau/nouveau_state.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/nouveau/nouveau_state.c b/drivers/gpu/drm/nouveau/nouveau_state.c
index f3ee58283af0..31bca1dca85d 100644
--- a/drivers/gpu/drm/nouveau/nouveau_state.c
+++ b/drivers/gpu/drm/nouveau/nouveau_state.c
@@ -477,6 +477,7 @@ static int nouveau_init_engine_ptrs(struct drm_device *dev)
477 engine->vram.get = nvc0_vram_new; 477 engine->vram.get = nvc0_vram_new;
478 engine->vram.put = nv50_vram_del; 478 engine->vram.put = nv50_vram_del;
479 engine->vram.flags_valid = nvc0_vram_flags_valid; 479 engine->vram.flags_valid = nvc0_vram_flags_valid;
480 engine->pm.temp_get = nv84_temp_get;
480 engine->pm.clocks_get = nvc0_pm_clocks_get; 481 engine->pm.clocks_get = nvc0_pm_clocks_get;
481 engine->pm.voltage_get = nouveau_voltage_gpio_get; 482 engine->pm.voltage_get = nouveau_voltage_gpio_get;
482 engine->pm.voltage_set = nouveau_voltage_gpio_set; 483 engine->pm.voltage_set = nouveau_voltage_gpio_set;