[Nouveau] [PATCH] drm/nvc0: Read temperature on Fermi like we do on nv84+
martin.peres at free.fr
martin.peres at free.fr
Thu May 12 13:40:47 PDT 2011
From: Martin Peres <martin.peres at ensi-bourges.fr>
Signed-off-by: Martin Peres <martin.peres at ensi-bourges.fr>
---
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 38ea662..0180c81 100644
--- a/drivers/gpu/drm/nouveau/nouveau_state.c
+++ b/drivers/gpu/drm/nouveau/nouveau_state.c
@@ -414,6 +414,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);
--
1.7.5.1
More information about the Nouveau
mailing list