From: Ben Skeggs Date: Mon, 4 Jul 2011 04:06:07 +0000 (+1000) Subject: drm/nvd0/pm: enable clock/voltage hooks X-Git-Tag: MMI-PSA29.97-13-9~18200^2~58^2~73 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=4784e4aa47a1754cdd1be24fd5106b722c4c137d;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git drm/nvd0/pm: enable clock/voltage hooks Signed-off-by: Ben Skeggs --- diff --git a/drivers/gpu/drm/nouveau/nouveau_state.c b/drivers/gpu/drm/nouveau/nouveau_state.c index 8cf42e223fc3..c4802eb3f9aa 100644 --- a/drivers/gpu/drm/nouveau/nouveau_state.c +++ b/drivers/gpu/drm/nouveau/nouveau_state.c @@ -471,6 +471,9 @@ 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.clocks_get = nvc0_pm_clocks_get; + engine->pm.voltage_get = nouveau_voltage_gpio_get; + engine->pm.voltage_set = nouveau_voltage_gpio_set; break; default: NV_ERROR(dev, "NV%02x unsupported\n", dev_priv->chipset);