From: Martin Peres Date: Thu, 12 May 2011 20:40:47 +0000 (+0200) Subject: drm/nvc0: Read temperature on Fermi like we do on nv84+ X-Git-Tag: upstream/snapshot3+hdmi~9538^2~22^2~57 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=74cfad188b9e7e063ddb8d74fa20b38cbad10d79;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git drm/nvc0: Read temperature on Fermi like we do on nv84+ Signed-off-by: Martin Peres Signed-off-by: Ben Skeggs --- diff --git a/drivers/gpu/drm/nouveau/nouveau_state.c b/drivers/gpu/drm/nouveau/nouveau_state.c index 144f79a..dd6f305 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);