mirror of https://gitee.com/openkylin/linux.git
drm/i915: don't unlock panel regs
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>
This commit is contained in:
parent
0b8765c6e7
commit
4d12fe0b48
|
@ -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))
|
||||
|
|
Loading…
Reference in New Issue