backend/drm: add support for CTM

This commit is contained in:
Simon Ser 2025-11-13 14:31:14 +01:00
parent 92ba6ffdf8
commit 2db00a9872
8 changed files with 96 additions and 12 deletions

View file

@ -328,6 +328,9 @@ static bool add_connector(drmModeAtomicReq *req,
if (crtc->props.gamma_lut != 0) {
ok = ok && add_prop(req, crtc->id, crtc->props.gamma_lut, state->gamma_lut);
}
if (crtc->props.ctm != 0) {
ok = ok && add_prop(req, crtc->id, crtc->props.ctm, state->ctm);
}
if (crtc->props.vrr_enabled != 0) {
ok = ok && add_prop(req, crtc->id, crtc->props.vrr_enabled, state->vrr_enabled);
}