From 74d1700f0b9c129c58d6308c0dcaa4ae0f21fb93 Mon Sep 17 00:00:00 2001 From: Pekka Paalanen Date: Tue, 30 Apr 2024 15:39:10 +0300 Subject: [PATCH] libweston: add TODO to validate EOTF mode Currently EOTF mode is not validated against the supported mask, to allow easier experimenting without supplying a modified EDID through the kernel. The validation should be added before color management becomes non-experimental. Signed-off-by: Pekka Paalanen --- libweston/compositor.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libweston/compositor.c b/libweston/compositor.c index 93a1ef4c4..f7b3eaf84 100644 --- a/libweston/compositor.c +++ b/libweston/compositor.c @@ -7651,6 +7651,8 @@ weston_output_set_color_profile(struct weston_output *output, * supported on the output. Enabling an output with an unsupported EOTF mode * has undefined visual results. * + * TODO: Enforce mode validity. + * * The initial EOTF mode is SDR. * * \ingroup output