backends/drm: allow using ICC profiles with HDR

It works just like a normal ICC profile, except the primaries sent to the
display are always assumed to be BT.2020, and the primares of the ICC profile
are assumed to be the native primaries of the display.
The normal HDR calibration data the user can set (max_cll, max_fall and max
reference luminance) is ignored in favor of the values in the ICC profile, to
allow users to more conveniently switch between different profiles.

Depends on libraries/plasma-wayland-protocols!133 (merged). Also see libkscreen!300 (merged) and kscreen!475 (merged)

BUG: 514239

Edited by Xaver Hugl

Merge request reports

Loading