hdmi_avi_inf...me_pack_only(9)
π hdmi_avi_infoframe_pack_only π
okay so bestie, welcome to the Kernel API Manual entry for hdmi_avi_infoframe_pack_only(9) β yes that's the full name, yes it's a mouthful, no we're not shortening it, it's iconic as is. β¨
πΈ NAME πΈ
hdmi_avi_infoframe_pack_only β write HDMI AVI infoframe to binary buffer
Like, that's the whole vibe. You got an AVI infoframe, you got a binary buffer, and this function is the matchmaker. π«Ά
π¦ SYNOPSIS π¦
ssize_t hdmi_avi_infoframe_pack_only (const struct hdmi_avi_infoframe
*frame , void *buffer , size_t size );
literally just look at it. three args. so clean. π
β ARGUMENTS β
frameβ the HDMI AVI infoframe itself, the main character of this whole operation πbufferβ destination buffer, aka where the packed bytes are gonna live rent-freesizeβ size of buffer, bestie please actually pass the right one, it's not decorative π
β¨ DESCRIPTION β¨
So what does it do? It packs the information contained in the frame structure into a binary representation that can be written into the corresponding controller registers. yes, all of that, no cap. π§
It also computes the checksum as required by section 5.3.5 of the HDMI 1.4 specification. like it's not just vibing, it's doing actual spec-compliant math. obsessed. π₯
Then it returns the number of bytes packed into the binary buffer, or a negative error code on failure. so check that return value, bestie, i'm begging π
ngl the _only in the name is doing real work here β this one packs and returns the byte count directly, that's the whole point π
π SEE ALSO π
Kernel file ./drivers/video/hdmi.c β and the entire friend group, fr fr:
hdmi_avi_infoframe_init(9)hdmi_avi_infoframe_check(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_audio_infoframe_pack_for_dp(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)
and that's the page!! πβ¨ππ¦
sign-off time: this lil beauty lives in ./drivers/video, dated October 2026, and it's filed under the Kernel API Manual β 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