backend/drm: add support for image description transfer function

This commit is contained in:
Simon Ser 2025-01-28 12:41:05 +01:00
parent dc258b2237
commit b482e9089b
5 changed files with 52 additions and 0 deletions

View file

@ -159,6 +159,7 @@ struct wlr_drm_connector_state {
int primary_in_fence_fd, out_fence_fd;
bool vrr_enabled;
uint32_t colorspace;
uint32_t hdr_output_metadata;
};
/**
@ -215,6 +216,7 @@ struct wlr_drm_connector {
// Atomic modesetting only
uint32_t colorspace;
uint32_t hdr_output_metadata;
int32_t refresh;
};

View file

@ -27,6 +27,7 @@ struct wlr_drm_connector_props {
uint32_t crtc_id;
uint32_t colorspace;
uint32_t hdr_output_metadata;
};
struct wlr_drm_crtc_props {