i915: add suspend/resume support
authorJesse Barnes <jesse.barnes@intel.com>
Thu, 22 Nov 2007 04:14:14 +0000 (14:14 +1000)
committerDave Airlie <airlied@redhat.com>
Thu, 7 Feb 2008 05:09:38 +0000 (15:09 +1000)
commitba8bbcf6ff4650712f64c0ef61139c73898e2165
treebd82043d355bdb060ec8291992bca912880f780a
parente8b962b6df50b74afed14af7f7a7d569b3ba70ac
i915: add suspend/resume support

Add suspend/resume support to the i915 driver.  Moves some of the
initialization into the driver load routine, and fixes up places where we
assumed no dev_private existed in some of the cleanup paths.  This allows
us to suspend/resume properly even if X isn't running.

Signed-off-by: Dave Airlie <airlied@linux.ie>
drivers/char/drm/drm_bufs.c
drivers/char/drm/i915_dma.c
drivers/char/drm/i915_drv.c
drivers/char/drm/i915_drv.h