Re: [RFC xserver 4/4] modesetting: Treat inactive outputs as disconnected during PreInit

2015-10-30 Thread Adam Jackson
On Thu, 2015-10-29 at 14:58 +0100, Daniel Martin wrote: > @@ -868,6 +868,14 @@ drmmode_output_detect(xf86OutputPtr output) >  switch (drmmode_output->mode_output->connection) { >  case DRM_MODE_CONNECTED: >  status = XF86OutputStatusConnected; > + > +/* During PreInit (!con

[RFC xserver 4/4] modesetting: Treat inactive outputs as disconnected during PreInit

2015-10-29 Thread Daniel Martin
From: Daniel Martin If we fail to activate an output while we're in PreInit, the server won't startup. This might happen if we run out of lanes. Don't try to activate any output during PreInit, which the kernel didn't set up yet by treating them as disconnected. Signed-off-by: Daniel Martin ---