diff options
author | Dave Airlie <airlied@redhat.com> | 2008-02-20 10:02:20 +1000 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2008-02-20 10:02:20 +1000 |
commit | 6c41e5381fb8ea890943b6679fe6ae7ac4cfea4d (patch) | |
tree | 9467361943830f84a7622d61b19ce57b40e058a8 /linux-core/drmP.h | |
parent | 5d8c754bc2c720d70bbdeca6b294660105717a62 (diff) |
drm: add support for passing state into the suspend hooks.
fix i915 driver to use state for hibernate save avoidance.
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'linux-core/drmP.h')
-rw-r--r-- | linux-core/drmP.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linux-core/drmP.h b/linux-core/drmP.h index 33f3649e..f196e11d 100644 --- a/linux-core/drmP.h +++ b/linux-core/drmP.h @@ -617,7 +617,7 @@ struct drm_driver { void (*postclose) (struct drm_device *, struct drm_file *); void (*lastclose) (struct drm_device *); int (*unload) (struct drm_device *); - int (*suspend) (struct drm_device *); + int (*suspend) (struct drm_device *, pm_message_t state); int (*resume) (struct drm_device *); int (*dma_ioctl) (struct drm_device *dev, void *data, struct drm_file *file_priv); void (*dma_ready) (struct drm_device *); |