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.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/backend/drm/drm.h b/include/backend/drm/drm.h
index 11f6732a..e8fc452a 100644
--- a/include/backend/drm/drm.h
+++ b/include/backend/drm/drm.h
@@ -42,8 +42,15 @@ struct wlr_drm_plane {
union wlr_drm_plane_props props;
};
+enum wlr_drm_crtc_field {
+ WLR_DRM_CRTC_MODE = 1 << 0,
+};
+
struct wlr_drm_crtc {
uint32_t id;
+ uint32_t pending; // bitfield of enum wlr_drm_crtc_field
+
+ drmModeModeInfo mode;
// Atomic modesetting only
uint32_t mode_id;