drm_hdmi_ve...display_mode(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

okay so this is the drm_hdmi_vendor_infoframe_from_display_mode(9) page from the Kernel API Manual, and it does exactly what the name says: it fills an HDMI vendor infoframe with data from a DRM display mode. iconic behavior, honestly πŸ’…


✨ SYNOPSIS ✨

bestie, here's the exact signature β€” do not freestyle the punctuation, she is particular:

int drm_hdmi_vendor_infoframe_from_display_mode (struct hdmi_vendor_infoframe *frame , const struct drm_connector *connector , const struct drm_display_mode *mode );

🌸 ARGUMENTS 🌸

  • frame β€” HDMI vendor infoframe. this is the infoframe getting filled, main character energy.
  • connector β€” the connector. yes, that connector.
  • mode β€” DRM display mode. the display mode in question, no cap.

πŸ¦‹ DESCRIPTION πŸ¦‹

vibe check first: you only actually need to send HDMI vendor infoframes when you're using a 4k or stereoscopic 3D mode. so if you give this function literally any other mode as input, it will return -EINVAL, and that error can be safely ignored. not me warning you so you don't panic 😭


πŸ‘‘ RETURN πŸ‘‘

0 on success, or a negative error code on failure. that's the whole mood, periodt.


🌈 SEE ALSO 🌈

the kernel file ./drivers/gpu/drm/drm_edid.c is homebase, and here's the full friend group:


mwah πŸ’‹ β€” this little icon is filed under ./drivers/gpu/drm from the October 2026 drop of the Kernel API Manual, page drm_hdmi_ve...display_mode(9). bye bestie 🫢

πŸ“¦ where this page comes from