aboutsummaryrefslogtreecommitdiff
path: root/backend/drm/properties.c
diff options
context:
space:
mode:
authorVincent Vanlaer <vincent.vanlaer@skynet.be>2018-02-01 20:27:35 +0100
committerVincent Vanlaer <vincent.vanlaer@skynet.be>2018-02-09 17:29:04 +0100
commitcc1229e75e0c0c2cf5ae6d67bc7411c2631deb86 (patch)
tree528e569385d110464518fd1ecb47e1d88a13da55 /backend/drm/properties.c
parent34489dca16ef9e7fd05c161b8b4f2fd5ce5e4ef0 (diff)
Add atomic gamma setting
Diffstat (limited to 'backend/drm/properties.c')
-rw-r--r--backend/drm/properties.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/backend/drm/properties.c b/backend/drm/properties.c
index 5bec3243..c3efa96e 100644
--- a/backend/drm/properties.c
+++ b/backend/drm/properties.c
@@ -28,6 +28,7 @@ static const struct prop_info connector_info[] = {
static const struct prop_info crtc_info[] = {
#define INDEX(name) (offsetof(union wlr_drm_crtc_props, name) / sizeof(uint32_t))
{ "ACTIVE", INDEX(active) },
+ { "GAMMA_LUT", INDEX(gamma_lut) },
{ "MODE_ID", INDEX(mode_id) },
{ "rotation", INDEX(rotation) },
{ "scaling mode", INDEX(scaling_mode) },