drm/i915: don't unlock panel regs
authorJesse Barnes <jbarnes@virtuousgeek.org>
Fri, 10 Sep 2010 17:46:45 +0000 (10:46 -0700)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 10 Sep 2010 21:23:45 +0000 (22:23 +0100)
This was just a workaround for some broken Ironlake CRTC code.

Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
drivers/gpu/drm/i915/intel_dp.c

index b9efeaf..103a60b 100644 (file)
@@ -781,7 +781,7 @@ static bool ironlake_edp_panel_on (struct drm_device *dev)
        I915_WRITE(PCH_PP_CONTROL, pp);
        POSTING_READ(PCH_PP_CONTROL);
 
-       pp |= PANEL_UNLOCK_REGS | POWER_TARGET_ON;
+       pp |= POWER_TARGET_ON;
        I915_WRITE(PCH_PP_CONTROL, pp);
 
        if (wait_for(I915_READ(PCH_PP_STATUS) & PP_ON, 5000))