mirror of
https://github.com/brl/mutter.git
synced 2024-11-26 01:50:42 -05:00
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
@ -28,6 +28,7 @@ typedef enum _MetaKmsCrtcProp
|
||||
{
|
||||
META_KMS_CRTC_PROP_MODE_ID = 0,
|
||||
META_KMS_CRTC_PROP_ACTIVE,
|
||||
META_KMS_CRTC_PROP_GAMMA_LUT,
|
||||
META_KMS_CRTC_N_PROPS
|
||||
} MetaKmsCrtcProp;
|
||||
|
||||
|
@ -245,6 +245,11 @@ init_proporties (MetaKmsCrtc *crtc,
|
||||
.name = "ACTIVE",
|
||||
.type = DRM_MODE_PROP_RANGE,
|
||||
},
|
||||
[META_KMS_CRTC_PROP_GAMMA_LUT] =
|
||||
{
|
||||
.name = "GAMMA_LUT",
|
||||
.type = DRM_MODE_PROP_BLOB,
|
||||
},
|
||||
}
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user