kms/crtc: Find GAMMA_LUT property
To be used by the atomic backend to implement setting gamma ramps. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1488>
This commit is contained in:
parent
8808d518cc
commit
eb78b62515
2 changed files with 6 additions and 0 deletions
|
@ -28,6 +28,7 @@ typedef enum _MetaKmsCrtcProp
|
||||||
{
|
{
|
||||||
META_KMS_CRTC_PROP_MODE_ID = 0,
|
META_KMS_CRTC_PROP_MODE_ID = 0,
|
||||||
META_KMS_CRTC_PROP_ACTIVE,
|
META_KMS_CRTC_PROP_ACTIVE,
|
||||||
|
META_KMS_CRTC_PROP_GAMMA_LUT,
|
||||||
META_KMS_CRTC_N_PROPS
|
META_KMS_CRTC_N_PROPS
|
||||||
} MetaKmsCrtcProp;
|
} MetaKmsCrtcProp;
|
||||||
|
|
||||||
|
|
|
@ -245,6 +245,11 @@ init_proporties (MetaKmsCrtc *crtc,
|
||||||
.name = "ACTIVE",
|
.name = "ACTIVE",
|
||||||
.type = DRM_MODE_PROP_RANGE,
|
.type = DRM_MODE_PROP_RANGE,
|
||||||
},
|
},
|
||||||
|
[META_KMS_CRTC_PROP_GAMMA_LUT] =
|
||||||
|
{
|
||||||
|
.name = "GAMMA_LUT",
|
||||||
|
.type = DRM_MODE_PROP_BLOB,
|
||||||
|
},
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue