hdmi_spd_inf...me_pack_only(9)
π NAME π
okay so welcome to the hdmi_spd_inf...me_pack_only(9) page, bestie β the header lowkey truncates it but the real name is hdmi_spd_infoframe_pack_only, and this is the Kernel API Manual, so you know it's the good stuff β¨
short version: it writes an HDMI SPD infoframe to a binary buffer. that's it. that's the whole vibe π
πΈ SYNOPSIS πΈ
ssize_t hdmi_spd_infoframe_pack_only (const struct hdmi_spd_infoframe
*frame , void *buffer , size_t size );
like, she takes three things and gives you back a ssize_t. main character energy fr fr π
π¦ ARGUMENTS π¦
okay let's meet the cast π«Ά
frameβ the HDMI SPD infoframe itself. this is the source material.bufferβ the destination buffer. where the packed bytes are gonna land.sizeβ size of buffer. pls know it, she needs it.
π DESCRIPTION π
so what she actually does: she packs all the information contained in the frame structure into a binary representation that can be written into the corresponding controller registers. iconic behavior, no notes π
and because she's thorough (we love a detail-oriented queen), she also computes the checksum as required by section 5.3.5 of the HDMI 1.4 specification. yes, section 5.3.5 specifically. we don't guess, we cite πβ¨
then she returns the number of bytes packed into the binary buffer, or a negative error code on failure. so like β positive number = slay, negative number = something went wrong, handle it π
ngl, the "only" in the name is doing a lot of heavy lifting here β this one writes to the binary buffer, it doesn't do the extra checking step. that's a different function, and she's down in SEE ALSO if you're curious π
π₯ SEE ALSO π₯
buckle up bestie, this is the whole group chat π
kernel file: ./drivers/video/hdmi.c
and the extended family:
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(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)
that's the whole page, bestie. go pack some infoframes, drink water, and remember: section 5.3.5 of the HDMI 1.4 spec said checksum, so we checksum π
mwah π this came from ./drivers/video, dated October 2026, and the footer still calls it hdmi_spd_inf...me_pack_only(9) because she's a little truncated and we love her anyway π
π¦ 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