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>
Mon, 11 Jan 2010 04:36:08 +0000 (14:36 +1000)
commit89347bb8ef2d0af1ae8d847b7df91e9f04eccf2a
treeec171501d3f7b1cf6df42a8157944589f7e95b2a
parenta81406b4143ff07e586bbe03c50f089da94eefe1
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