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. 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: [core] require-output-config=false 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(-) -- 1.7.9.5 _______________________________________________ wayland-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/wayland-devel
