hdmi_audio_i..._pack_for_dp(9)
π hdmi_audio_infoframe_pack_for_dp(9)
okay so bestie, welcome to the Kernel API Manual β this one's about hdmi_audio_infoframe_pack_for_dp, and honestly? it's giving "tiny function, huge responsibility" energy. π
β¨ NAME β¨
hdmi_audio_infoframe_pack_for_dp β packs a HDMI Audio infoframe all cute and ready for DisplayPort π¦
πΈ SYNOPSIS πΈ
ssize_t hdmi_audio_infoframe_pack_for_dp (const struct
hdmi_audio_infoframe *frame , struct dp_sdp *sdp , u8 dp_version );
like, that's the whole signature. three args, one ssize_t return, no cap. π
π«Ά ARGUMENTS π«Ά
frameβ the HDMI Audio infoframe, aka the main character of this whole operation πsdpβ the Secondary data packet for DisplayPort, i.e. where all the packed goodness ends up πdp_versionβ the DisplayPort version that's gonna get encoded in the header, so like, the header knows what era it's living in β
π₯ DESCRIPTION π₯
So what it does: it packs a HDMI Audio Infoframe so it can be sent over DisplayPort. Literally that's it β this function fills the secondary data packet that DisplayPort is gonna use. no extra steps, no side quests, just packing. β¨
π RETURN π
It hands you back the number of total written bytes β or, if things go sideways, a negative errno on failure π (iykyk, always check your ssize_t, bestie).
fr fr, a negative return means something went wrong, so don't just vibe past it π
π§ SEE ALSO π§
Kernel file ./drivers/video/hdmi.c and all its little friends β like, the entire friend group, we're listing everybody:
hdmi_avi_infoframe_init(9)hdmi_avi_infoframe_check(9)hdmi_avi_infoframe_pack_only(9)hdmi_avi_infoframe_pack(9)hdmi_spd_infoframe_init(9)hdmi_spd_infoframe_check(9)hdmi_spd_infoframe_pack_only(9)hdmi_spd_infoframe_pack(9)hdmi_audio_infoframe_init(9)hdmi_audio_infoframe_check(9)hdmi_audio_infoframe_pack_only(9)hdmi_audio_infoframe_pack(9)hdmi_vendor_infoframe_init(9)hdmi_vendor_infoframe_check(9)hdmi_vendor_infoframe_pack_only(9)hdmi_vendor_infoframe_pack(9)hdmi_drm_infoframe_init(9)hdmi_drm_infoframe_check(9)hdmi_drm_infoframe_pack_only(9)hdmi_drm_infoframe_pack(9)hdmi_infoframe_pack_only(9)hdmi_infoframe_pack(9)hdmi_infoframe_log(9)hdmi_avi_infoframe_unpack(9)hdmi_spd_infoframe_unpack(9)hdmi_audio_infoframe_unpack(9)hdmi_vendor_any_infoframe_unpack(9)hdmi_drm_infoframe_unpack_only(9)hdmi_drm_infoframe_unpack(9)hdmi_infoframe_unpack(9)
that's the whole page, bestie β go pack some infoframes π β¨
source location: ./drivers/video Β· dated October 2026 Β· and yes this came from the hdmi_audio_i..._pack_for_dp(9) page, mwah π
π¦ 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