[PATCH weston 0/2] Introduce substitute of connector option

Ucan, Emre (ADITG/SW1) eucan at de.adit-jv.com
Wed Mar 15 12:02:12 UTC 2017


Hi Daniel,

> -----Original Message-----
> From: Daniel Stone [mailto:daniel at fooishbar.org]
> Sent: Mittwoch, 15. März 2017 10:45
> To: Ucan, Emre (ADITG/SW1)
> Cc: wayland-devel at lists.freedesktop.org; Armin Krezović
> Subject: Re: [PATCH weston 0/2] Introduce substitute of connector option
> 
> Hey,
> 
> On 8 March 2017 at 15:43, Ucan, Emre (ADITG/SW1) <eucan at de.adit-
> jv.com> wrote:
> > Remove the option, because it is hard to use.
> > Drm connector ids are hard to reach for users,
> > and they can change when kernel or device tree
> > is modified.
> >
> > If someone wants to enable just one output and
> > disable all others, he can set "require-output-config".
> > Then, all unconfigured outputs will be disabled
> > automatically.
> >
> > In current implementation, there is no configuration
> > to disable unconfigured outputs.
> >
> > One can create an output section for a known output
> > in weston.ini file and set its mode to "off" to disable
> > a known output. But there is no configuration to disable
> > unknown outputs.
> >
> > This might be usefull for example, if someone wants to
> > enable just one output and disable all others. Without
> > this option, we have to right down an output section for
> > every output known to system and disable all outputs,
> > which we do not want to enable.
> 
> This looks quite good, and is better than what I would've come up
> with. Armin - could you please take a look from the config point of
> view? 1/2 is Acked-by me, 2/2 is Reviewed-by me, and if you can
> provide review/ack on 1/2, then I'll take care of landing them and any
> collisions with changes to the DRM backend.
> 
> > It might be usefull also for startup time optimization,
> > because some display types (e.g. LVDS and VGA) are always
> > up. Therefore, weston would modeset every one of them.
> > Even there are no attached displays.
> 
> Hm, VGA does have load-detect and HPD possible. Anyway, if these
> displays are active, wouldn't this give us a dead area which couldn't
> be used? Though I guess with IVI shell you wouldn't really notice as
> the surfaces would be explicitly placed on to particular outputs.

Therefore, we need this configuration option to disable their outputs, so that there will be no dead area.

> 
> Cheers,
> Daniel


More information about the wayland-devel mailing list