ENUM DP_CONTENT_TYPE(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 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