summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/gma500/psb_drv.c
diff options
context:
space:
mode:
authorPatrik Jakobsson <patrik.r.jakobsson@gmail.com>2013-04-06 00:45:22 +0200
committerPatrik Jakobsson <patrik.r.jakobsson@gmail.com>2013-04-07 17:09:34 +0200
commit888eef2e8c2d9fc2e6ccf58fb4a8f9f6d8ff9a22 (patch)
treead1171157ae796e262b6262821e355d46bca1a62 /drivers/gpu/drm/gma500/psb_drv.c
parentdrm/gma500: Activate the gtt rebuild on suspend/resume (diff)
downloadlinux-888eef2e8c2d9fc2e6ccf58fb4a8f9f6d8ff9a22.tar.xz
linux-888eef2e8c2d9fc2e6ccf58fb4a8f9f6d8ff9a22.zip
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/psb_drv.c')
-rw-r--r--drivers/gpu/drm/gma500/psb_drv.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/gma500/psb_drv.c b/drivers/gpu/drm/gma500/psb_drv.c
index 111e3df9c5de..bddea5807442 100644
--- a/drivers/gpu/drm/gma500/psb_drv.c
+++ b/drivers/gpu/drm/gma500/psb_drv.c
@@ -601,6 +601,9 @@ static void psb_remove(struct pci_dev *pdev)
static const struct dev_pm_ops psb_pm_ops = {
.resume = gma_power_resume,
.suspend = gma_power_suspend,
+ .thaw = gma_power_thaw,
+ .freeze = gma_power_freeze,
+ .restore = gma_power_restore,
.runtime_suspend = psb_runtime_suspend,
.runtime_resume = psb_runtime_resume,
.runtime_idle = psb_runtime_idle,