backend/drm: read CURVE_1D_TYPE property enum values

This commit is contained in:
Simon Ser 2026-06-04 16:59:58 +02:00
parent 83605d212d
commit def08f373a
3 changed files with 19 additions and 0 deletions

View file

@ -191,6 +191,12 @@ static bool init_color_pipeline(struct wlr_drm_backend *drm,
}
colorop->size = size;
break;
case DRM_COLOROP_1D_CURVE:
if (!introspect_drm_prop_enum(drm->fd, colorop->props.curve_1d_type,
&colorop->curve_1d_types)) {
return false;
}
break;
}
id = (uint32_t)next;