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 <pekka.paalanen@collabora.com>
This commit is contained in:
Pekka Paalanen 2024-04-30 15:39:10 +03:00 committed by Pekka Paalanen
parent 8f31f172f8
commit 74d1700f0b

View File

@ -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