backend/drm: add support for color primaries

This commit is contained in:
Simon Ser 2025-01-27 20:24:36 +01:00
parent e64de4d55f
commit f024d1b8c8
7 changed files with 43 additions and 1 deletions

View file

@ -22,6 +22,7 @@ struct prop_info {
static const struct prop_info connector_info[] = {
#define INDEX(name) (offsetof(struct wlr_drm_connector_props, name) / sizeof(uint32_t))
{ "CRTC_ID", INDEX(crtc_id) },
{ "Colorspace", INDEX(colorspace) },
{ "DPMS", INDEX(dpms) },
{ "EDID", INDEX(edid) },
{ "PATH", INDEX(path) },