drm: Keep disabled outputs disabled after suspend / resume
authorDavid John <davidjon@xenontk.org>
Thu, 31 Dec 2009 06:30:46 +0000 (12:00 +0530)
committerDave Airlie <airlied@redhat.com>
Fri, 8 Jan 2010 03:17:22 +0000 (13:17 +1000)
commit992dc9ae61f86db3b8ef9f8d6b7df898c90e8c08
treee1f134b289b34f83c179641919248fd22c527d6c
parente89a8c901ca94a47c0e0b2fb335623d810e37545
drm: Keep disabled outputs disabled after suspend / resume

With the current DRM code, an output that has been powered off
from userspace will automatically power back on when resuming
from suspend. This patch fixes this behaviour.

Tested only with the Intel i915 driver on an Intel GM45 Express
chipset.

Signed-off-by: David John <davidjon@xenontk.org>
Reviewed-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/drm_crtc_helper.c