From: Martin Peres Date: Fri, 21 Oct 2011 23:40:40 +0000 (+0200) Subject: drm/nvd0: read temperature as we did on nv84+ boards X-Git-Tag: v3.3-rc1~121^2~51^2~64 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=6109183794a711d80c08705d477d2a19b437d5c1;p=karo-tx-linux.git drm/nvd0: read temperature as we did on nv84+ boards 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 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;