diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2011-11-09 15:18:47 +1000 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2011-12-21 19:01:35 +1000 |
commit | f62b27db6b5479efe376b408802a081a834ef50e (patch) | |
tree | cb8a21800e7996f58e2e68027228bc3c071572f1 /drivers/gpu/drm/nouveau/nouveau_drv.h | |
parent | 1772fcc6f8af681a6e08f5cca15e86e710efe809 (diff) | |
download | op-kernel-dev-f62b27db6b5479efe376b408802a081a834ef50e.zip op-kernel-dev-f62b27db6b5479efe376b408802a081a834ef50e.tar.gz |
drm/nouveau: shutdown display on suspend/hibernate
Known to fix some serious issues with hibernate on a couple of systems.
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nouveau_drv.h')
-rw-r--r-- | drivers/gpu/drm/nouveau/nouveau_drv.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/nouveau/nouveau_drv.h b/drivers/gpu/drm/nouveau/nouveau_drv.h index a22ca47..c1391858 100644 --- a/drivers/gpu/drm/nouveau/nouveau_drv.h +++ b/drivers/gpu/drm/nouveau/nouveau_drv.h @@ -1449,6 +1449,8 @@ extern int nouveau_gem_ioctl_info(struct drm_device *, void *, /* nouveau_display.c */ int nouveau_display_create(struct drm_device *dev); void nouveau_display_destroy(struct drm_device *dev); +int nouveau_display_init(struct drm_device *dev); +void nouveau_display_fini(struct drm_device *dev); int nouveau_vblank_enable(struct drm_device *dev, int crtc); void nouveau_vblank_disable(struct drm_device *dev, int crtc); int nouveau_crtc_page_flip(struct drm_crtc *crtc, struct drm_framebuffer *fb, |