backend/drm: add support for LUMINANCE KMS property

References: https://lore.kernel.org/dri-devel/20260528054911.1513208-1-superm1@kernel.org/
This commit is contained in:
Simon Ser 2026-05-29 16:56:16 +02:00
parent 82d2cc7c23
commit 4f32a0b76f
5 changed files with 30 additions and 1 deletions

View file

@ -164,6 +164,7 @@ struct wlr_drm_connector_state {
bool vrr_enabled;
uint32_t colorspace;
uint32_t hdr_output_metadata;
uint64_t luminance;
};
/**
@ -199,6 +200,7 @@ struct wlr_drm_connector {
drmModeConnection status;
uint32_t id;
uint64_t max_bpc_bounds[2];
uint64_t luminance_bounds[2];
struct wlr_drm_lease *lease;
struct wlr_drm_crtc *crtc;