lkml.org 
[lkml]   [2011]   [Jun]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
SubjectRe: [2.6.39] drm/i915: blank screen on Lenovo Ideapad U160
Date
Jesse Barnes <jbarnes@virtuousgeek.org> writes:

> Oh is this not an LVDS panel? I'm curious which of the port disables
> is at fault in your config then. If you have an eDP panel, it would
> likely be the PCH_DP_D write. It could be a side effect of the
> PANEL_UNLOCK_REGS write as well though, can you try commenting each of
> those out?

Yes, you are right. Commenting out a single line helps:

diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c
index 81a9059..ed95cbf 100644
--- a/drivers/gpu/drm/i915/intel_display.c
+++ b/drivers/gpu/drm/i915/intel_display.c
@@ -1356,7 +1356,7 @@ static void intel_disable_pch_ports(struct drm_i915_private *dev_priv,
u32 reg, val;

val = I915_READ(PCH_PP_CONTROL);
- I915_WRITE(PCH_PP_CONTROL, val | PANEL_UNLOCK_REGS);
+ //I915_WRITE(PCH_PP_CONTROL, val | PANEL_UNLOCK_REGS);

disable_pch_dp(dev_priv, pipe, PCH_DP_B);
disable_pch_dp(dev_priv, pipe, PCH_DP_C);
Dirk


\
 
 \ /
  Last update: 2011-06-16 00:05    [W:0.040 / U:44.652 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site