drm/i915: Refactor save/restore code
authorBen Gamari <bgamari.foss@gmail.com>
Mon, 14 Sep 2009 21:48:42 +0000 (17:48 -0400)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Thu, 17 Sep 2009 21:34:27 +0000 (14:34 -0700)
commit1341d655ddea37f307736af7030a3ef7c5648c31
treef02820220000990ce0a798757c2651902871c50c
parentffed1d0920d180962469feb5e14bab7af2e29137
drm/i915: Refactor save/restore code

We move the display-specific code into it's own functions, called
from the general GPU state save/restore functions. This will be needed
later by the GPU reset code.

Signed-off-by: Ben Gamari <bgamari.foss@gmail.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/i915_suspend.c