diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2010-09-12 20:16:10 -0400 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2010-09-13 05:25:26 -0400 |
commit | e9e331a8abeece1565d383510ed985945132ffe3 (patch) | |
tree | f35a5f938e1eda21f99d1fbdb3d85b7923417791 /drivers/gpu/drm/i915/intel_drv.h | |
parent | 6edc3242e35f03990e362e7c115e722717f0f7a7 (diff) |
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>
Diffstat (limited to 'drivers/gpu/drm/i915/intel_drv.h')
-rw-r--r-- | drivers/gpu/drm/i915/intel_drv.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/intel_drv.h b/drivers/gpu/drm/i915/intel_drv.h index e5f2a61af9f6..7e2646f1fec9 100644 --- a/drivers/gpu/drm/i915/intel_drv.h +++ b/drivers/gpu/drm/i915/intel_drv.h | |||
@@ -239,7 +239,6 @@ extern u32 intel_panel_get_max_backlight(struct drm_device *dev); | |||
239 | extern u32 intel_panel_get_backlight(struct drm_device *dev); | 239 | extern u32 intel_panel_get_backlight(struct drm_device *dev); |
240 | extern void intel_panel_set_backlight(struct drm_device *dev, u32 level); | 240 | extern void intel_panel_set_backlight(struct drm_device *dev, u32 level); |
241 | 241 | ||
242 | extern int intel_panel_fitter_pipe (struct drm_device *dev); | ||
243 | extern void intel_crtc_load_lut(struct drm_crtc *crtc); | 242 | extern void intel_crtc_load_lut(struct drm_crtc *crtc); |
244 | extern void intel_encoder_prepare (struct drm_encoder *encoder); | 243 | extern void intel_encoder_prepare (struct drm_encoder *encoder); |
245 | extern void intel_encoder_commit (struct drm_encoder *encoder); | 244 | extern void intel_encoder_commit (struct drm_encoder *encoder); |