aboutsummaryrefslogtreecommitdiff
path: root/kms/kms_shared.h
diff options
context:
space:
mode:
Diffstat (limited to 'kms/kms_shared.h')
-rw-r--r--kms/kms_shared.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/kms/kms_shared.h b/kms/kms_shared.h
index b72d75d..f146441 100644
--- a/kms/kms_shared.h
+++ b/kms/kms_shared.h
@@ -3,9 +3,10 @@
#include <stdint.h>
#include <stdbool.h>
+#include <drm_mode.h>
-#define GSR_KMS_PROTOCOL_VERSION 1
-#define GSR_KMS_MAX_PLANES 32
+#define GSR_KMS_PROTOCOL_VERSION 2
+#define GSR_KMS_MAX_PLANES 10
typedef enum {
KMS_REQUEST_TYPE_REPLACE_CONNECTION,
@@ -37,10 +38,12 @@ typedef struct {
uint32_t connector_id; /* 0 if unknown */
bool is_combined_plane;
bool is_cursor;
+ bool has_hdr_metadata;
int x;
int y;
int src_w;
int src_h;
+ struct hdr_output_metadata hdr_metadata;
} gsr_kms_response_fd;
typedef struct {