mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2026-06-14 14:32:57 -04:00
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:
parent
82d2cc7c23
commit
4f32a0b76f
5 changed files with 30 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue