mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2026-02-26 01:40:35 -05:00
backend/drm: add support for CTM
This commit is contained in:
parent
92ba6ffdf8
commit
2db00a9872
8 changed files with 96 additions and 12 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue