ENUM DP_COLORIMETRY(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… enum dp_colorimetry(9) β€” drm DP Colorimetry formats

okay so bestie, welcome to enum dp_colorimetry from the Kernel API Manual β€” this is literally the glow-up menu for how your DisplayPort screen shows color. no cap, it's just an enum, but it's an iconic enum. let's get into it πŸŽ€


✨ SYNOPSIS ✨

enum dp_colorimetry {
    DP_COLORIMETRY_DEFAULT ,
    DP_COLORIMETRY_RGB_WIDE_FIXED ,
    DP_COLORIMETRY_BT709_YCC ,
    DP_COLORIMETRY_RGB_WIDE_FLOAT ,
    DP_COLORIMETRY_XVYCC_601 ,
    DP_COLORIMETRY_OPRGB ,
    DP_COLORIMETRY_XVYCC_709 ,
    DP_COLORIMETRY_DCI_P3_RGB ,
    DP_COLORIMETRY_SYCC_601 ,
    DP_COLORIMETRY_RGB_CUSTOM ,
    DP_COLORIMETRY_OPYCC_601 ,
    DP_COLORIMETRY_BT2020_RGB ,
    DP_COLORIMETRY_BT2020_CYCC ,
    DP_COLORIMETRY_BT2020_YCC

};

like, fourteen members, all lined up, all serving looks. 🌈


🌸 Constants 🌸

  • DP_COLORIMETRY_DEFAULT β€” the default one, bestie πŸ’– sRGB (IEC 61966-2-1) or ITU-R BT.601 colorimetry format. she's the baseline, the main character, the "i woke up like this."
  • DP_COLORIMETRY_RGB_WIDE_FIXED β€” RGB wide gamut fixed point colorimetry format. fixed point, iykyk ✨
  • DP_COLORIMETRY_BT709_YCC β€” ITU-R BT.709 colorimetry format. classic, reliable, the mom friend of color spaces 🫢
  • DP_COLORIMETRY_RGB_WIDE_FLOAT β€” RGB wide gamut floating point (scRGB (IEC 61966-2-2)) colorimetry format. floating point babe, so fancy πŸ’…
  • DP_COLORIMETRY_XVYCC_601 β€” xvYCC601 colorimetry format. the little "x" is doing so much, we love her 🌸
  • DP_COLORIMETRY_OPRGB β€” OpRGB colorimetry format. short name, big energy.
  • DP_COLORIMETRY_XVYCC_709 β€” xvYCC709 colorimetry format. 601's sister, equally iconic ✨
  • DP_COLORIMETRY_DCI_P3_RGB β€” DCI-P3 (SMPTE RP 431-2) colorimetry format. cinema queen πŸ‘‘
  • DP_COLORIMETRY_SYCC_601 β€” sYCC601 colorimetry format. lowercase s, lowercase vibes πŸ“
  • DP_COLORIMETRY_RGB_CUSTOM β€” RGB Custom Color Profile colorimetry format. you do you, bespoke babe πŸŽ€
  • DP_COLORIMETRY_OPYCC_601 β€” opYCC601 colorimetry format. another "o" prefix, we stan πŸ’œ
  • DP_COLORIMETRY_BT2020_RGB β€” ITU-R BT.2020 R' G' B' colorimetry format. yes the primes are part of the name, don't come for me πŸ”₯
  • DP_COLORIMETRY_BT2020_CYCC β€” ITU-R BT.2020 Y'c C'bc C'rc colorimetry format. that's a LOT of letters and every single one matters, fr fr πŸ’€
  • DP_COLORIMETRY_BT2020_YCC β€” ITU-R BT.2020 Y' C'b C'r colorimetry format. the non-c version, right beside her c-variant bestie 😭

πŸ¦‹ Description πŸ¦‹

so like, what IS this? this enum is used to indicate DP VSC SDP Colorimetry formats ✨ It's based on the DP 1.4 spec β€” specifically [Table 2-117: VSC SDP Payload for DB16 through DB18] β€” and, crucial detail bestie, a name of enum member follows enum drm_colorimetry definition. so the naming convention isn't random, she's inherited. respect the lineage πŸ‘‘

ngl, if you're writing this into an SDP payload you're in the deep end β€” but you're doing amazing sweetie πŸ’–

🌟 SEE ALSO 🌟

go check these out, they're all in the same group chat:

  • Kernel file ./include/drm/display/drm_dp.h
  • struct dp_sdp_header(9)
  • struct dp_sdp(9)
  • enum dp_pixelformat(9)
  • enum dp_dynamic_range(9)
  • enum dp_content_type(9)

and that's the whole page, bestie πŸŽ€ big slay. this came from ./include/drm/display, dated October 2026, and it's the enum dp_colorimetry(9) page β€” periodt. πŸ’…βœ¨πŸ¦‹

πŸ“¦ where this page comes from