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

@ -391,6 +391,9 @@ void finish_drm_resources(struct wlr_drm_backend *drm) {
if (crtc->gamma_lut) {
drmModeDestroyPropertyBlob(drm->fd, crtc->gamma_lut);
}
if (crtc->ctm) {
drmModeDestroyPropertyBlob(drm->fd, crtc->ctm);
}
}
free(drm->crtcs);