drm/i915: suspend/resume GEM when KMS is active
authorJesse Barnes <jbarnes@virtuousgeek.org>
Tue, 17 Feb 2009 23:13:31 +0000 (15:13 -0800)
committerDave Airlie <airlied@redhat.com>
Mon, 23 Feb 2009 00:06:23 +0000 (10:06 +1000)
In the KMS case, we need to suspend/resume GEM as well.  So on suspend, make
sure we idle GEM and stop any new rendering from coming in, and on resume,
re-init the framebuffer and clear the suspended flag.

Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Dave Airlie <airlied@redhat.com>

No differences found