mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2026-01-06 05:00:18 +01:00
drm_pending_state_apply_atomic is supposed to leave pending_state untouched if called as a test-only and that test fails, as per the docs for drm_pending_state_test. If it gets as far as doing the atomic test and it fails, it doesn't free pending_state. However if it fails to even compile the state for the atomic test (for example, if a particular property is not implemented in the driver for a particular plane), it frees pending_state. In this case, drm_output_propose_state will free the contained drm_output_state again, typically leading to a segfault. Treat failing to compile the state for the atomic test in the same way as successfully running the atomic test but it failing. Signed-off-by: Ray Smith <rsmith@brightsign.biz> |
||
|---|---|---|
| .. | ||
| drm-gbm.c | ||
| drm-internal.h | ||
| drm-kms-enums.h | ||
| drm-virtual.c | ||
| drm.c | ||
| fb.c | ||
| kms-color.c | ||
| kms.c | ||
| libbacklight.c | ||
| libbacklight.h | ||
| meson.build | ||
| modes.c | ||
| state-helpers.c | ||
| state-propose.c | ||
| vaapi-recorder.c | ||
| vaapi-recorder.h | ||