diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2012-01-24 18:03:25 +1000 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2012-03-13 17:09:11 +1000 |
commit | 25c53c1068a804c6b51f86e937cebab6274dc056 (patch) | |
tree | fc52ae0515b86341801b19940d070bdaa4c98924 /drivers/gpu/drm/nouveau/nouveau_drv.h | |
parent | 8d7bb400638906075c38cb07891993cf95076aa7 (diff) | |
download | kernel_goldelico_gta04-25c53c1068a804c6b51f86e937cebab6274dc056.zip kernel_goldelico_gta04-25c53c1068a804c6b51f86e937cebab6274dc056.tar.gz kernel_goldelico_gta04-25c53c1068a804c6b51f86e937cebab6274dc056.tar.bz2 |
drm/nouveau/pm: extend profile interface for destroy/init/fini
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Signed-off-by: Martin Peres <martin.peres@labri.fr>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nouveau_drv.h')
-rw-r--r-- | drivers/gpu/drm/nouveau/nouveau_drv.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/drm/nouveau/nouveau_drv.h b/drivers/gpu/drm/nouveau/nouveau_drv.h index 009089e..63e77fc 100644 --- a/drivers/gpu/drm/nouveau/nouveau_drv.h +++ b/drivers/gpu/drm/nouveau/nouveau_drv.h @@ -487,6 +487,9 @@ struct nouveau_pm_tbl_entry { struct nouveau_pm_profile; struct nouveau_pm_profile_func { + void (*destroy)(struct nouveau_pm_profile *); + void (*init)(struct nouveau_pm_profile *); + void (*fini)(struct nouveau_pm_profile *); struct nouveau_pm_level *(*select)(struct nouveau_pm_profile *); }; @@ -556,6 +559,7 @@ struct nouveau_pm_engine { struct nouveau_pm_profile *profile_ac; struct nouveau_pm_profile *profile_dc; + struct nouveau_pm_profile *profile; struct list_head profiles; struct nouveau_pm_level boot; |