drm_mode_cre...ace_property(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

drm_mode_cre...ace_property(9) πŸ’…

okay so first things first β€” hi bestie, welcome to the Kernel API Manual 🫢. The header up top clips the name all dramatic like (drm_mode_cre...ace_property(9)), but the full government name is right below, don't worry. ✨


✨ NAME ✨

drm_mode_create_hdmi_colorspace_property β€” literally just creates the HDMI colorspace property. that's the whole gig. no cap. 🌈


πŸŽ€ SYNOPSIS πŸŽ€

int drm_mode_create_hdmi_colorspace_property (struct drm_connector
     *connector , u32 supported_colorspaces );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • connector β€” the connector you wanna slap the Colorspace property onto. that's it, that's the target. πŸ‘‘
  • supported_colorspaces β€” a bitmap of all the color spaces this connector can vibe with. yes, bitmap, so it's one of those "each bit is a flag" situations. iykyk. πŸ’œ

🌸 DESCRIPTION 🌸

so the way this works: a driver calls this the first time it's needed β€” not on some random schedule, not eagerly, just when it's needed β€” and then it must be attached to the desired HDMI connectors. like, that's not optional, bestie. desired ones. the ones you actually want. periodt. πŸ’…


πŸ”₯ RETURN πŸ”₯

  • Zero on success πŸŽ‰ (zero is the good one here, don't panic)
  • negative errno on failure 😭 β€” yeah, if it's negative, something went sideways, go check your errno.

⭐ SEE ALSO ⭐

okay this list is long long β€” like, the whole connector cinematic universe shows up. respect the lore 🧚:


and that's the whole page, bestie β€” go forth and attach those properties πŸ’–

mwah πŸ’‹ β€” this lil page lives in ./drivers/gpu/drm, it's dated October 2026, and it's signed drm_mode_cre...ace_property(9). slay. πŸŽ€

πŸ“¦ where this page comes from