Re: [Intel-gfx] Excessive WARN()s in Intel 915 driver

From: Daniel Vetter
Date: Tue Jan 28 2014 - 12:24:27 EST


On Wed, Jan 8, 2014 at 7:43 PM, Ville Syrjälä
<ville.syrjala@xxxxxxxxxxxxxxx> wrote:
>
> The log looks fairly clear to me:
>
> 1. initially panel fitter is enabled on pipe B, and pipe B is outputting
> to LVDS and VGA. Border is enabled.
> 2. pipe A gets enabled outputting to LVDS. This will overwrite the
> LVDS border bits
> 3. pipe B is still active so we do the state check, but as the LVDS
> border bits have been clobbered earlier, the state checker gets
> angry

Meh, I've been fairly dense the entire time. This is indeed the
root-cause, with the twist that we're allowing the impossible:
Essentially we take away the panel fitter from pipe B to pipe A while
it is strictly still in use by pipe B for VGA. Currently no idea how
to properly fix this in a not too intrusive way.

The other issue is that the encoders connected to pipe B change in the
first modeset, but that's not reflected in the pipe masks.
-Daniel
--
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch
--
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/