drm/i915: Fix LVDS stability issue on Ironlake
commitac34851f4dac996125b1cf7c5acdb14310b0f525
authorZhenyu Wang <zhenyuw@linux.intel.com>
Wed, 25 Nov 2009 05:09:38 +0000 (25 13:09 +0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 18 Dec 2009 22:05:48 +0000 (18 14:05 -0800)
treefa18b6131b8981aa3a8c48c7f8169118a726a469
parentfb79085d52de31fa0e2fe6cb9d1aab332caec16a
drm/i915: Fix LVDS stability issue on Ironlake

commit 1b3c7a47f993bf9ab6c4c7cc3bbf5588052b58f4 upstream.

In disable sequence, all output ports on PCH have to be disabled
before PCH transcoder, but LVDS port was left always enabled. This
one fixes that by disable LVDS port properly during pipe disable
process, and resolved stability issue seen on Ironlake. Also move
panel fitting disable time just after pipe disable to align with
the spec.

Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
Signed-off-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/gpu/drm/i915/intel_display.c