ENUM DP_CONTENT_TYPE(9)
πΈ enum dp_content_type β the drm DP Content Type glow-up πΈ
okay bestie so this is a page straight out of the Kernel API Manual, and it's about one tiny enum that tells your display what kind of vibes the content has. it's short, it's iconic, let's get into it π
β¨ NAME β¨
enum dp_content_type β drm DP Content Type. that's it, that's the whole name, and honestly? it ate. π«Ά
π¦ SYNOPSIS π¦
like, here's literally the whole shape of it:
enum dp_content_type {
DP_CONTENT_TYPE_NOT_DEFINED ,
DP_CONTENT_TYPE_GRAPHICS ,
DP_CONTENT_TYPE_PHOTO ,
DP_CONTENT_TYPE_VIDEO ,
DP_CONTENT_TYPE_GAME
};
π CONSTANTS π
so each of these is a vibe, and each vibe has a name:
DP_CONTENT_TYPE_NOT_DEFINEDβ Not defined type. it's giving "no thoughts head empty", the enum's default shrug πDP_CONTENT_TYPE_GRAPHICSβ Graphics type. for the graphics-y stuff β¨DP_CONTENT_TYPE_PHOTOβ Photo type. pics! πΈDP_CONTENT_TYPE_VIDEOβ Video type. motion content, main character energy π₯DP_CONTENT_TYPE_GAMEβ Game type. yes gamer, we see you π
π Description π
okay so here's the tea: this enum is used to indicate DP VSC SDP Content Types. no cap, that's its whole job.
it's based on the DP 1.4 spec, specifically [Table 2-117: VSC SDP Payload for DB16 through DB18] β like, that's the receipt, that's where it comes from π
and CTA-861-G defines content types and the expected processing by a sink device. so the sink (the display bestie on the other end) knows what it's supposed to do with each type. iconic behaviour, honestly. π
π SEE ALSO π
go check these out, they're all in the same friend group:
- Kernel file
./include/drm/display/drm_dp.h struct dp_sdp_header(9)struct dp_sdp(9)enum dp_pixelformat(9)enum dp_colorimetry(9)enum dp_dynamic_range(9)
ngl the whole thing lives in ./include/drm/display if you ever need to find it again π§
and that's the page, bestie!! shoutout to the Kernel API Manual and to October 2026 for the drop β fr fr, slay, 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