STRUCT DP_SDP(9)
π struct dp_sdp β DP secondary data packet (from the Kernel API Manual, bestie) π
Okay so real talk, this is a page straight out of the Kernel API Manual, and it's describing one little struct that's basically the gossip packet of DisplayPort: it carries the side info. Let's go. π
β¨ NAME β¨
struct dp_sdp β DP secondary data packet π
π SYNOPSIS π
struct dp_sdp {
struct dp_sdp_header sdp_header;
u8 db[32];
};
That's it. That's the whole vibe. A header plus 32 bytes of db. β¨
π¦ Members π¦
sdp_headerβ the DP secondary data packet header. It's giving "cover page energy" π«Άdbβ the DP secondaray data packet data blocks (yes that spelling is in the source, periodt, I don't make the rules π). This is where it gets juicy, becausedbgets read two different ways depending on which payload you're looking at:
π VSC SDP Payload for PSR
db[0]: Stereo Interfacedb[1]:0- PSR State;1- Update RFB;2- CRC Validdb[2]: CRC value bits7:0of the R or Cr componentdb[3]: CRC value bits15:8of the R or Cr componentdb[4]: CRC value bits7:0of the G or Y componentdb[5]: CRC value bits15:8of the G or Y componentdb[6]: CRC value bits7:0of the B or Cb componentdb[7]: CRC value bits15:8of the B or Cb componentdb[8]-db[31]: Reserved π
πΈ VSC SDP Payload for Pixel Encoding/Colorimetry Format
db[0]-db[15]: Reserveddb[16]: Pixel Encoding and Colorimetry Formatsdb[17]: Dynamic Range and Component Bit Depthdb[18]: Content Typedb[19]-db[31]: Reserved π
lowkey note: both of those maps describe the same db[32] array β they're just two different readings of it, so don't come for me if you noticed the overlap, iykyk π§
π SEE ALSO π
- Kernel file
./include/drm/display/drm_dp.h struct dp_sdp_header(9)enum dp_pixelformat(9)enum dp_colorimetry(9)enum dp_dynamic_range(9)enum dp_content_type(9)
and that's the whole page, bestie β no cap β¨
sign-off time π: this little icon lives in ./include/drm/display and the page is dated October 2026. go forth and slay your DP payloads π
π¦ 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