summaryrefslogtreecommitdiff
path: root/shared-core
diff options
context:
space:
mode:
Diffstat (limited to 'shared-core')
-rw-r--r--shared-core/drm.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/shared-core/drm.h b/shared-core/drm.h
index 132c7746..40653b4b 100644
--- a/shared-core/drm.h
+++ b/shared-core/drm.h
@@ -1033,6 +1033,7 @@ struct drm_mode_card_res {
int count_encoders;
int min_width, max_width;
int min_height, max_height;
+ uint32_t generation;
};
struct drm_mode_crtc {
@@ -1043,6 +1044,8 @@ struct drm_mode_crtc {
int x, y; /**< Position on the frameuffer */
+ uint32_t generation;
+
int count_connectors;
unsigned int connectors; /**< Connectors that are connected */
@@ -1055,6 +1058,8 @@ struct drm_mode_crtc {
struct drm_mode_get_encoder {
+ uint32_t generation;
+
uint32_t encoder_type;
uint32_t encoder_id;
@@ -1085,6 +1090,8 @@ struct drm_mode_get_connector {
unsigned int connector_type;
unsigned int connector_type_id;
+ uint32_t generation;
+
unsigned int connection;
unsigned int mm_width, mm_height; /**< HxW in millimeters */
unsigned int subpixel;