hdmi_spd_infoframe_init(9)
β¨ hdmi_spd_infoframe_init(9) β¨
okay so bestie, we're in the Kernel API Manual today and this one is literally the glow-up ritual for an HDMI SPD infoframe π it's short, it's sweet, and it's giving "small function, big responsibility" energy. let's get into it π
πΈ NAME πΈ
hdmi_spd_infoframe_init β the function that initializes an HDMI SPD infoframe. that's it, that's the whole job, and she does it flawlessly β¨
π¦ SYNOPSIS π¦
int hdmi_spd_infoframe_init (struct hdmi_spd_infoframe *frame , const
char *vendor , const char *product );
like, you hand her a frame and two little strings and she returns an int. no cap, that's the entire vibe check π«Ά
π ARGUMENTS π
frameβ the HDMI SPD infoframe itself π this is your main character, the thing getting initialized.vendorβ the vendor string πΈ just the name of who made it.productβ the product string π¦ and this one's the name of the thing itself.
β DESCRIPTION β
so what does she do? she sets everything up and then tells you how it went:
- returns
0on success π₯³ slay, we love a clean zero - returns a negative error code on failure π not the vibe, but at least you know
and that's genuinely all the manpage says, bestie β no hidden lore, no secret flags, no little extras hiding in the footnotes. she's a straightforward icon π
π SEE ALSO π
okay this is where it gets iconic β the whole HDMI infoframe friend group shows up. also, kernel file: ./drivers/video/hdmi.c π
hdmi_avi_infoframe_init(9)hdmi_avi_infoframe_check(9)hdmi_avi_infoframe_pack_only(9)hdmi_avi_infoframe_pack(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)
fr fr, read the whole squad. they're all in ./drivers/video and they all slay in their own way πβ¨
and that's the page, bestie π§ this little beauty lives in ./drivers/video and the version we're repping is dated October 2026 β go forth and initialize those infoframes, 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