hdmi_drm_infoframe_check(9)
π hdmi_drm_infoframe_check(9) β like, the Kernel API Manual one bestie π
okay so real talk: this is the hdmi_drm_infoframe_check</p> page from the Kernel API Manual, and it is exactly what it says on the tin β a vibe check for your HDMI DRM infoframe β¨
π NAME π
hdmi_drm_infoframe_check β checks a HDMI DRM infoframe. that's it, that's the whole name, and honestly? iconic for being so direct π
β¨ SYNOPSIS β¨
int hdmi_drm_infoframe_check (struct hdmi_drm_infoframe *frame );
so she's a function, she returns an int, and she takes exactly one little pointer. no cap, that's the whole signature π«Ά
π¦ ARGUMENTS π¦
frameβ the HDMI DRM infoframe. literally the one thing you're handing her. she'll look at it, she'll judge it (lovingly), and she'll tell you if it's valid π
π DESCRIPTION π
so what she actually does is validate that the infoframe is consistent. think of it as a vibe check for your data structure β is this thing internally coherent or is it giving chaos? π₯
then she reports back:
- returns
0on success β slay, your infoframe ate, no notes π― - returns a negative error code on failure β not slay, something's inconsistent, go fix it π
that's genuinely the whole description. short and confident, main character energy fr fr.
π SEE ALSO π
Kernel file ./drivers/video/hdmi.c β and like, the entire extended friend group of infoframe functions, all of whom you should absolutely go meet:
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_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_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)
thirty of them. thirty!! the whole init β check β pack β unpack pipeline is right there, iykyk πΈ
π tiny warning bestie: success is 0, and anything negative means it failed the vibe check. don't go treating a negative return like a win, fr fr π
that's the whole page!! she lives in ./drivers/video, this is the October 2026 edition, and that's the Kernel API Manual signing off π§π bye bestie, go validate some infoframes π
π¦ 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