hw/modesetting: Add required structs and data.

Will be used by the next commits.
This commit is contained in:
notbabaisyou
2025-08-14 13:51:15 +02:00
committed by Enrico Weigelt
parent a43941be91
commit c390441ca9

View File

@@ -51,6 +51,7 @@ enum drmmode_plane_property {
DRMMODE_PLANE_CRTC_Y,
DRMMODE_PLANE_CRTC_W,
DRMMODE_PLANE_CRTC_H,
DRMMODE_PLANE_SIZE_HINTS,
DRMMODE_PLANE__COUNT
};
@@ -183,6 +184,17 @@ typedef struct {
uint32_t flip_seq;
} drmmode_tearfree_rec, *drmmode_tearfree_ptr;
typedef struct {
uint16_t width, height;
} drmmode_cursor_dim_rec, *drmmode_cursor_dim_ptr;
typedef struct {
uint16_t num_dimensions;
drmmode_cursor_dim_rec* dimensions;
struct dumb_bo *bo;
} drmmode_cursor_rec, *drmmode_cursor_ptr;
typedef struct {
drmmode_ptr drmmode;
drmModeCrtcPtr mode_crtc;