diff options
author | Martin Peres <martin.peres@ensi-bourges.fr> | 2011-05-12 16:40:47 -0400 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2011-06-23 01:56:52 -0400 |
commit | 74cfad188b9e7e063ddb8d74fa20b38cbad10d79 (patch) | |
tree | 6b09215701d1065ab5bf08183486bc19bd59c83a | |
parent | 033b5650010652c069494df58424c4b98412fe3b (diff) |
drm/nvc0: Read temperature on Fermi like we do on nv84+
Signed-off-by: Martin Peres <martin.peres@ensi-bourges.fr>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
-rw-r--r-- | drivers/gpu/drm/nouveau/nouveau_state.c | 1 |
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 144f79a350ae..dd6f30574a76 100644 --- a/drivers/gpu/drm/nouveau/nouveau_state.c +++ b/drivers/gpu/drm/nouveau/nouveau_state.c | |||
@@ -415,6 +415,7 @@ static int nouveau_init_engine_ptrs(struct drm_device *dev) | |||
415 | engine->vram.get = nvc0_vram_new; | 415 | engine->vram.get = nvc0_vram_new; |
416 | engine->vram.put = nv50_vram_del; | 416 | engine->vram.put = nv50_vram_del; |
417 | engine->vram.flags_valid = nvc0_vram_flags_valid; | 417 | engine->vram.flags_valid = nvc0_vram_flags_valid; |
418 | engine->pm.temp_get = nv84_temp_get; | ||
418 | break; | 419 | break; |
419 | default: | 420 | default: |
420 | NV_ERROR(dev, "NV%02x unsupported\n", dev_priv->chipset); | 421 | NV_ERROR(dev, "NV%02x unsupported\n", dev_priv->chipset); |