drm/i915/lvds: Always restore panel-fitter when enabling the LVDS
authorChris Wilson <chris@chris-wilson.co.uk>
Sun, 5 Dec 2010 19:21:18 +0000 (19:21 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Sun, 5 Dec 2010 23:01:06 +0000 (23:01 +0000)
commit2a1292fd4cf1558b4a60781227d503c9111d9075
treee3d9bb623f20a99a096968447d873db80b569be8
parent6fd0d56e3bc1abfb237b8824261b613e21e77bc8
drm/i915/lvds: Always restore panel-fitter when enabling the LVDS

Linus Torvalds pointed out that our code was unbalanced when powering on
the panel with respect to the power off sequence in that we were failing
to restore the panel-fitter. The consequence of this would be that
across a simple DPMS off/on for a non-native mode, without an intervening
modeset, the panel fitter would remain disabled and the output would shift
on the panel.

Reported-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
drivers/gpu/drm/i915/intel_lvds.c