aboutsummaryrefslogtreecommitdiff
path: root/include/backend/drm/drm.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/backend/drm/drm.h')
-rw-r--r--include/backend/drm/drm.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/include/backend/drm/drm.h b/include/backend/drm/drm.h
index af472ede..12530da6 100644
--- a/include/backend/drm/drm.h
+++ b/include/backend/drm/drm.h
@@ -39,9 +39,15 @@ 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;
+ // Legacy only
+ drmModeCrtc *legacy_crtc;
+
union {
struct {
struct wlr_drm_plane *overlay;