diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2010-09-16 02:25:26 -0400 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2010-09-24 02:27:13 -0400 |
commit | 442b626ece6fbbe7f52c03a09f85ae5755f29eab (patch) | |
tree | 923e916c7a8ff361ea1ad16e91c219a661d75c27 /drivers/gpu/drm/nouveau/nouveau_pm.h | |
parent | 02c30ca0a1d6d8b878fc32f47b3b25192ef4a8ef (diff) |
drm/nv04-nv40: import initial pm backend
Currently just hooked up to the already-existing nouveau_hw, which should
handle all relevant chipsets as well as we currently can.
This will likely be eventually split out and improved into chipset specific
code at a later point.
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nouveau_pm.h')
-rw-r--r-- | drivers/gpu/drm/nouveau/nouveau_pm.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/gpu/drm/nouveau/nouveau_pm.h b/drivers/gpu/drm/nouveau/nouveau_pm.h index 81d27722964b..70e1862572f8 100644 --- a/drivers/gpu/drm/nouveau/nouveau_pm.h +++ b/drivers/gpu/drm/nouveau/nouveau_pm.h | |||
@@ -41,6 +41,11 @@ int nouveau_voltage_gpio_set(struct drm_device *, int voltage); | |||
41 | void nouveau_perf_init(struct drm_device *); | 41 | void nouveau_perf_init(struct drm_device *); |
42 | void nouveau_perf_fini(struct drm_device *); | 42 | void nouveau_perf_fini(struct drm_device *); |
43 | 43 | ||
44 | /* nv04_pm.c */ | ||
45 | int nv04_pm_clock_get(struct drm_device *, u32 id); | ||
46 | void *nv04_pm_clock_pre(struct drm_device *, u32 id, int khz); | ||
47 | void nv04_pm_clock_set(struct drm_device *, void *); | ||
48 | |||
44 | /* nv50_pm.c */ | 49 | /* nv50_pm.c */ |
45 | int nv50_pm_clock_get(struct drm_device *, u32 id); | 50 | int nv50_pm_clock_get(struct drm_device *, u32 id); |
46 | void *nv50_pm_clock_pre(struct drm_device *, u32 id, int khz); | 51 | void *nv50_pm_clock_pre(struct drm_device *, u32 id, int khz); |