diff options
author | Patrik Jakobsson <patrik.r.jakobsson@gmail.com> | 2013-04-06 02:45:22 +0400 |
---|---|---|
committer | Patrik Jakobsson <patrik.r.jakobsson@gmail.com> | 2013-04-07 19:09:34 +0400 |
commit | 888eef2e8c2d9fc2e6ccf58fb4a8f9f6d8ff9a22 (patch) | |
tree | ad1171157ae796e262b6262821e355d46bca1a62 /drivers/gpu/drm/gma500/power.h | |
parent | 8ba8209fefb67edf2ecbb92e9f16008bfaa1b031 (diff) | |
download | linux-888eef2e8c2d9fc2e6ccf58fb4a8f9f6d8ff9a22.tar.xz |
drm/gma500: Add hooks for hibernation
Currently we do whatever is done during suspend/resume but we might need some
more work for hibernation so keep them in separate functions.
Signed-off-by: Patrik Jakobsson <patrik.r.jakobsson@gmail.com>
Diffstat (limited to 'drivers/gpu/drm/gma500/power.h')
-rw-r--r-- | drivers/gpu/drm/gma500/power.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/gma500/power.h b/drivers/gpu/drm/gma500/power.h index 1969d2ecb328..56d8708bd41c 100644 --- a/drivers/gpu/drm/gma500/power.h +++ b/drivers/gpu/drm/gma500/power.h @@ -41,6 +41,9 @@ void gma_power_uninit(struct drm_device *dev); */ int gma_power_suspend(struct device *dev); int gma_power_resume(struct device *dev); +int gma_power_thaw(struct device *dev); +int gma_power_freeze(struct device *dev); +int gma_power_restore(struct device *_dev); /* * These are the functions the driver should use to wrap all hw access |