summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm
diff options
context:
space:
mode:
authorMartin Peres <martin.peres@ensi-bourges.fr>2011-10-22 01:40:40 +0200
committerBen Skeggs <bskeggs@redhat.com>2011-12-21 19:01:23 +1000
commit6109183794a711d80c08705d477d2a19b437d5c1 (patch)
tree608b9c82783fe2663b20b21cf193c3d0eb39dcd5 /drivers/gpu/drm
parent1cb9469ee7bcdc0f80a3b12a1036352039ada72f (diff)
downloadblackbird-op-linux-6109183794a711d80c08705d477d2a19b437d5c1.tar.gz
blackbird-op-linux-6109183794a711d80c08705d477d2a19b437d5c1.zip
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')
-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)
engine->vram.get = nvc0_vram_new;
engine->vram.put = nv50_vram_del;
engine->vram.flags_valid = nvc0_vram_flags_valid;
+ engine->pm.temp_get = nv84_temp_get;
engine->pm.clocks_get = nvc0_pm_clocks_get;
engine->pm.voltage_get = nouveau_voltage_gpio_get;
engine->pm.voltage_set = nouveau_voltage_gpio_set;
OpenPOWER on IntegriCloud