Re: [2.6.39] drm/i915: blank screen on Lenovo Ideapad U160

From: Jesse Barnes
Date: Wed Jun 15 2011 - 17:41:44 EST


On Wed, 15 Jun 2011 23:29:53 +0200
Dirk Gouders <gouders@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
> > diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_d
> > index 81a9059..ef41487 100644
> > --- a/drivers/gpu/drm/i915/intel_display.c
> > +++ b/drivers/gpu/drm/i915/intel_display.c
> > @@ -1366,7 +1366,7 @@ static void intel_disable_pch_ports(struct drm_i915_privat
> > val = I915_READ(reg);
> > if (ADPA_PIPE_ENABLED(val, pipe))
> > I915_WRITE(reg, val & ~ADPA_DAC_ENABLE);
> > -
> > +#if 0
> > reg = PCH_LVDS;
> > val = I915_READ(reg);
> > if (LVDS_PIPE_ENABLED(val, pipe)) {
> > @@ -1374,7 +1374,7 @@ static void intel_disable_pch_ports(struct drm_i915_privat
> > POSTING_READ(reg);
> > udelay(100);
> > }
> > -
> > +#endif
> > disable_pch_hdmi(dev_priv, pipe, HDMIB);
> > disable_pch_hdmi(dev_priv, pipe, HDMIC);
> > disable_pch_hdmi(dev_priv, pipe, HDMID);
>
> No, that patch does not help.

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?

Thanks,
--
Jesse Barnes, Intel Open Source Technology Center
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/