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

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

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

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.

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.

This introduces a simple configuration in weston.ini:

False is the default, so no behavioral change is introduced.

Emre Ucan (2):
  Add option to disable unconfigured outputs
  compositor-drm: remove connector option

 compositor/main.c          |   10 +++++++---
 libweston/compositor-drm.c |   12 +-----------
 libweston/compositor-drm.h |    6 ------
 libweston/compositor.h     |    3 +++
 man/weston-drm.man         |    5 -----
 man/weston.ini.man         |    4 ++++
 weston.ini.in              |    1 +
 7 files changed, 16 insertions(+), 25 deletions(-)


More information about the wayland-devel mailing list