diff options
author | Keith Packard <keithp@keithp.com> | 2011-02-03 16:57:28 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-02-04 09:58:01 -0800 |
commit | 811aaa55ba21ab37407018cfc01770d6b037d3fb (patch) | |
tree | 217516756f6804d655d3654747ce090043fa85dc /include | |
parent | 89840966c57967fa5b36151c83b7c13fc9c5b3fd (diff) |
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 <keithp@keithp.com>
Cc: stable@kernel.org (2.6.37)
Reported-and-tested-by: Carlos R. Mafra <crmafra2@gmail.com>
Tested-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions