drm: add support for passing state into the suspend hooks.
authorDave Airlie <airlied@redhat.com>
Wed, 20 Feb 2008 00:02:20 +0000 (10:02 +1000)
committerDave Airlie <airlied@redhat.com>
Wed, 20 Feb 2008 00:05:12 +0000 (10:05 +1000)
commitb932ccb5674eb649133b5c33950405c37d17aab3
tree8ba30575cb83cc8d7d35517871b15657d1c1ab19
parentda636ad6a0d72eb5cb99738056af0bcc3db9ef9d
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>
drivers/char/drm/drmP.h
drivers/char/drm/drm_sysfs.c
drivers/char/drm/i915_drv.c