From: Keith Packard Date: Fri, 4 Feb 2011 00:57:28 +0000 (-0800) Subject: drm: Only set DPMS ON when actually configuring a mode X-Git-Tag: v2.6.38-rc4~18 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=811aaa55ba21ab37407018cfc01770d6b037d3fb;p=pandora-kernel.git drm: Only set DPMS ON when actually configuring a mode In drm_crtc_helper_set_config, instead of always forcing all outputs to DRM_MODE_DPMS_ON, only set them if the CRTC is actually getting a mode set, as any mode set will turn all outputs on. This fixes https://lkml.org/lkml/2011/1/24/457 Signed-off-by: Keith Packard Cc: stable@kernel.org (2.6.37) Reported-and-tested-by: Carlos R. Mafra Tested-by: Takashi Iwai Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed