]> bbs.cooldavid.org Git - net-next-2.6.git/commit - drivers/gpu/drm/i915/intel_overlay.c
drm/i915/lvds: Ensure panel is unlocked for Ironlake or the panel fitter
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 13 Sep 2010 00:16:10 +0000 (01:16 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Mon, 13 Sep 2010 09:25:26 +0000 (10:25 +0100)
commite9e331a8abeece1565d383510ed985945132ffe3
treef35a5f938e1eda21f99d1fbdb3d85b7923417791
parent6edc3242e35f03990e362e7c115e722717f0f7a7
drm/i915/lvds: Ensure panel is unlocked for Ironlake or the panel fitter

Commit 77d07fd9d73ef28689737c0952dbd5d6a5017743 introduced a regression
where by not waiting for the panel to be turned off, left the panel and
PLL registers locked across the modeset. Thus the panel remaining blank.

As pointed out by Daniel Vetter, when testing LVDS it helps to open the
laptop and look at the actual panel you are purporting to test.

A second issue with the patch was that in order to modify the panel
fitter before gen5, the pipe and the panel must have be completely
powered down. So we wait.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
drivers/gpu/drm/i915/intel_display.c
drivers/gpu/drm/i915/intel_drv.h
drivers/gpu/drm/i915/intel_lvds.c
drivers/gpu/drm/i915/intel_overlay.c