backend-drm: change default for required-outputs to any

On a desktop system, the expected behavior during a Weston start is that if any
monitor can be enabled, Weston starts up and enables the monitor. Outputs that
could not be enabled, stay disabled. This helps the user in debugging the failed
outputs.

Signed-off-by: Michael Tretter <m.tretter@pengutronix.de>
This commit is contained in:
Michael Tretter 2023-05-31 14:14:33 +02:00 committed by Daniel Stone
parent 20508c148e
commit 914be30bc0
2 changed files with 2 additions and 2 deletions

View file

@ -4111,7 +4111,7 @@ wet_main(int argc, char *argv[], const struct weston_testsuite_data *test_data)
weston_config_section_get_bool(section, "require-input",
&wet.compositor->require_input, true);
wet.require_outputs = REQUIRE_OUTPUTS_ALL_FOUND;
wet.require_outputs = REQUIRE_OUTPUTS_ANY;
weston_config_section_get_string(section, "require-outputs",
&require_outputs, NULL);
if (require_outputs) {

View file

@ -168,7 +168,7 @@ set to 300 seconds.
.BI "require-input=" true
require an input device for launch
.TP 7
.BI "require-outputs=" all-found
.BI "require-outputs=" any
configures the behavior if Weston fails to configure and enable outputs.
Depending on the use-case, it may preferable to ensure that Weston only starts