ENUM DP_COLORIMETRY(9)
π 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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms