summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/nouveau
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2011-07-04 04:06:07 (GMT)
committerBen Skeggs <bskeggs@redhat.com>2011-09-20 06:05:44 (GMT)
commit4784e4aa47a1754cdd1be24fd5106b722c4c137d (patch)
treed2c06484ac9496d08220115c4ed76ebf5a5d7964 /drivers/gpu/drm/nouveau
parent75139063b7a369f7fa849922d5a204b8ba96d582 (diff)
downloadlinux-fsl-qoriq-4784e4aa47a1754cdd1be24fd5106b722c4c137d.tar.xz
drm/nvd0/pm: enable clock/voltage hooks
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau')
-rw-r--r--drivers/gpu/drm/nouveau/nouveau_state.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/nouveau/nouveau_state.c b/drivers/gpu/drm/nouveau/nouveau_state.c
index 8cf42e2..c4802eb 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);