]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
i915: ensure that VGA plane is disabled
authorKrzysztof Mazur <krzysiek@podlesie.net>
Wed, 19 Dec 2012 10:03:41 +0000 (11:03 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 17 Jan 2013 16:46:50 +0000 (08:46 -0800)
commit157f92ae25fc05a3dc43fc7503323e2118b36b23
tree4272d9ab3d2521f1c8ba3b023294f747bc7b74e7
parent20a13bc0a341facc35dfa1c4fc779c26303e5c99
i915: ensure that VGA plane is disabled

commit 0fde901f1ddd2ce0e380a6444f1fb7ca555859e9 upstream.

Some broken systems (like HP nc6120) in some cases, usually after LID
close/open, enable VGA plane, making display unusable (black screen on LVDS,
some strange mode on VGA output). We used to disable VGA plane only once at
startup. Now we also check, if VGA plane is still disabled while changing
mode, and fix that if something changed it.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=57434
Signed-off-by: Krzysztof Mazur <krzysiek@podlesie.net>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/i915/intel_display.c