Commit 4d12fe0b authored by Jesse Barnes's avatar Jesse Barnes Committed by Chris Wilson

drm/i915: don't unlock panel regs

This was just a workaround for some broken Ironlake CRTC code.
Signed-off-by: default avatarJesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: default avatarChris Wilson <chris@chris-wilson.co.uk>
parent 0b8765c6
...@@ -781,7 +781,7 @@ static bool ironlake_edp_panel_on (struct drm_device *dev) ...@@ -781,7 +781,7 @@ static bool ironlake_edp_panel_on (struct drm_device *dev)
I915_WRITE(PCH_PP_CONTROL, pp); I915_WRITE(PCH_PP_CONTROL, pp);
POSTING_READ(PCH_PP_CONTROL); POSTING_READ(PCH_PP_CONTROL);
pp |= PANEL_UNLOCK_REGS | POWER_TARGET_ON; pp |= POWER_TARGET_ON;
I915_WRITE(PCH_PP_CONTROL, pp); I915_WRITE(PCH_PP_CONTROL, pp);
if (wait_for(I915_READ(PCH_PP_STATUS) & PP_ON, 5000)) if (wait_for(I915_READ(PCH_PP_STATUS) & PP_ON, 5000))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment