drm/i915: enable VT switchless resume v3
authorJesse Barnes <jbarnes@virtuousgeek.org>
Tue, 26 Mar 2013 16:25:45 +0000 (09:25 -0700)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 26 Mar 2013 20:37:50 +0000 (21:37 +0100)
commit24576d23976746cb52e7700c4cadbf4bc1bc3472
treee9d45a5b59367ab9df132f101de3868ef6f6be0c
parentb5644d0554f37016763f615bd65cd68af96aa509
drm/i915: enable VT switchless resume v3

With the other bits in place, we can do this safely.

v2: disable backlight on suspend to prevent premature enablement on resume
v3: disable CRTCs on suspend to allow RTD3 (Kristen)

Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@gmail.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_drv.c
drivers/gpu/drm/i915/intel_fb.c