aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/nouveau/nouveau_state.c
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2011-06-18 11:44:36 -0400
committerBen Skeggs <bskeggs@redhat.com>2011-09-20 02:03:16 -0400
commit354d0781e5cef1f227ee3064cb65053365177d3b (patch)
tree37e7604dc519824ff9f5ac985ade470b3caf7d2b /drivers/gpu/drm/nouveau/nouveau_state.c
parentd0f67a48f47a1874622418ba6bc2c45935b01b36 (diff)
drm/nvc0/pm: initial implementation of clocks_get()
Not too certain on memory clock yet, but it gets the right numbers for each perflvl on my NVC0. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nouveau_state.c')
-rw-r--r--drivers/gpu/drm/nouveau/nouveau_state.c1
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 8dc73b6b8138..109f0d984615 100644
--- a/drivers/gpu/drm/nouveau/nouveau_state.c
+++ b/drivers/gpu/drm/nouveau/nouveau_state.c
@@ -422,6 +422,7 @@ static int nouveau_init_engine_ptrs(struct drm_device *dev)
422 engine->vram.put = nv50_vram_del; 422 engine->vram.put = nv50_vram_del;
423 engine->vram.flags_valid = nvc0_vram_flags_valid; 423 engine->vram.flags_valid = nvc0_vram_flags_valid;
424 engine->pm.temp_get = nv84_temp_get; 424 engine->pm.temp_get = nv84_temp_get;
425 engine->pm.clocks_get = nvc0_pm_clocks_get;
425 engine->pm.voltage_get = nouveau_voltage_gpio_get; 426 engine->pm.voltage_get = nouveau_voltage_gpio_get;
426 engine->pm.voltage_set = nouveau_voltage_gpio_set; 427 engine->pm.voltage_set = nouveau_voltage_gpio_set;
427 break; 428 break;