diff options
author | dec05eba <dec05eba@protonmail.com> | 2025-05-15 19:48:25 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2025-05-15 19:48:25 +0200 |
commit | 2b34c78459c421c2771c13eebae11e75c581fd52 (patch) | |
tree | ceb481934796737826d496149db466082ef5190e /kms/kms_shared.h | |
parent | 35222bafe22b5685710395cfb274293cf488a59d (diff) |
This reverts commit 35222bafe22b5685710395cfb274293cf488a59d.
Diffstat (limited to 'kms/kms_shared.h')
-rw-r--r-- | kms/kms_shared.h | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/kms/kms_shared.h b/kms/kms_shared.h index ca13e7e..2dbb655 100644 --- a/kms/kms_shared.h +++ b/kms/kms_shared.h @@ -5,7 +5,7 @@ #include <stdbool.h> #include <drm_mode.h> -#define GSR_KMS_PROTOCOL_VERSION 5 +#define GSR_KMS_PROTOCOL_VERSION 4 #define GSR_KMS_MAX_ITEMS 8 #define GSR_KMS_MAX_DMA_BUFS 4 @@ -39,12 +39,6 @@ struct gsr_kms_response_dma_buf { uint32_t offset; }; -typedef enum { - KMS_PLANE_TYPE_PRIMARY, - KMS_PLANE_TYPE_CURSOR, - KMS_PLANE_TYPE_OVERLAY -} gsr_kms_plane_type; - struct gsr_kms_response_item { gsr_kms_response_dma_buf dma_buf[GSR_KMS_MAX_DMA_BUFS]; int num_dma_bufs; @@ -53,7 +47,7 @@ struct gsr_kms_response_item { uint32_t pixel_format; uint64_t modifier; uint32_t connector_id; /* 0 if unknown */ - gsr_kms_plane_type plane_type; + bool is_cursor; bool has_hdr_metadata; int x; int y; |