weston/libweston/backend-drm
Michael Olbrich 83053f0ce4 backend-drm: make sure outputs are enabled during plane assignment
drm_output_propose_state() is called during from drm_assign_planes(). At this
point, the output is enabled, but it may be disabled in the current state, that
is copied.

So explicitly enable the output by setting dpms to WESTON_DPMS_ON.
The same thing is already done in drm_output_repaint() but that's to late for
drm_output_propose_state(). Move that to the fallback path when planes are
disabled. It's no longer needed in general and changing the state between the
atomic test and commit is not a good idea anyways.

Without this, the atomic commit may fail, even though the corresponding test was
successful.

Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
2025-04-02 18:02:45 +00:00
..
drm-gbm.c drm: Remove workaround for ancient Mesa GBM issue 2025-01-23 11:57:42 +00:00
drm-internal.h backend-drm: Explicitly arm/disarm the page flip timer counter 2025-03-06 16:09:42 +02:00
drm-kms-enums.h drm-backend: Add Variable Refresh Rate modes 2025-02-21 06:49:42 +00:00
drm-virtual.c libweston/drm-virtual: Point output base backend the DRM backend 2024-08-27 17:32:30 +03:00
drm.c backend-drm: make sure outputs are enabled during plane assignment 2025-04-02 18:02:45 +00:00
fb.c backend-drm: Clear out the the fb handles 2025-02-07 23:44:18 +02:00
kms-color.c backend-drm: set connector property "Colorspace" 2024-05-06 10:39:42 +00:00
kms.c backend-drm: Fix count page flips on invalid outputs 2025-04-02 13:09:45 +00:00
libbacklight.c libweston,tools: Include libgen.h for basename signature 2023-12-18 21:13:52 +00:00
libbacklight.h backend-drm: move into new subdir 2019-05-16 13:32:34 +01:00
meson.build build: make libdisplay-info mandatory 2025-03-06 18:34:57 +00:00
modes.c meson: require libdisplay-info >= 0.2.0 2025-03-06 18:34:57 +00:00
state-helpers.c backend-drm: Set default plane color space and range hints 2025-02-04 12:36:12 +00:00
state-propose.c backend-drm: make sure outputs are enabled during plane assignment 2025-04-02 18:02:45 +00:00
vaapi-recorder.c drm/vaapi: Fix pointer-size confusion 2021-08-03 11:13:23 +00:00
vaapi-recorder.h backend-drm: move into new subdir 2019-05-16 13:32:34 +01:00