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

@ -40,6 +40,7 @@ static const struct prop_info connector_info[] = {
static const struct prop_info crtc_info[] = {
#define INDEX(name) (offsetof(struct wlr_drm_crtc_props, name) / sizeof(uint32_t))
{ "ACTIVE", INDEX(active) },
{ "CTM", INDEX(ctm) },
{ "GAMMA_LUT", INDEX(gamma_lut) },
{ "GAMMA_LUT_SIZE", INDEX(gamma_lut_size) },
{ "MODE_ID", INDEX(mode_id) },