aboutsummaryrefslogtreecommitdiff
path: root/include/backend/drm/drm.h
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 /include/backend/drm/drm.h
parent34489dca16ef9e7fd05c161b8b4f2fd5ce5e4ef0 (diff)
Add atomic gamma setting
Diffstat (limited to 'include/backend/drm/drm.h')
-rw-r--r--include/backend/drm/drm.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/backend/drm/drm.h b/include/backend/drm/drm.h
index af472ede..782764c8 100644
--- a/include/backend/drm/drm.h
+++ b/include/backend/drm/drm.h
@@ -39,7 +39,10 @@ struct wlr_drm_plane {
struct wlr_drm_crtc {
uint32_t id;
- uint32_t mode_id; // atomic modesetting only
+
+ // Atomic modesetting only
+ uint32_t mode_id;
+ uint32_t gamma_lut;
drmModeAtomicReq *atomic;
union {