diff options
author | Martin Peres <martin.peres@ensi-bourges.fr> | 2011-05-12 22:40:47 +0200 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2011-06-23 07:56:52 +0200 |
commit | 74cfad188b9e7e063ddb8d74fa20b38cbad10d79 (patch) | |
tree | 6b09215701d1065ab5bf08183486bc19bd59c83a /drivers/gpu/drm/nouveau | |
parent | drm/radeon/kms: add initial CS checker support for compute (diff) | |
download | linux-74cfad188b9e7e063ddb8d74fa20b38cbad10d79.tar.xz linux-74cfad188b9e7e063ddb8d74fa20b38cbad10d79.zip |
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>
Diffstat (limited to 'drivers/gpu/drm/nouveau')
-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) 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; break; default: NV_ERROR(dev, "NV%02x unsupported\n", dev_priv->chipset); |