drm_hdmi_co...r_mode_valid(9)
π¦ drm_hdmi_connector_mode_valid(9) π¦
okay so bestie, we're in the Kernel API Manual today and this one's actually kind of a little legend: drm_hdmi_connector_mode_valid β the function that looks at a mode and goes "yeah that slaps" or "no <3". Let's get into it π
β¨ NAME β¨
drm_hdmi_connector_mode_valid β check if a mode is valid for an HDMI connector, periodt. That's literally the whole job π
πΈ SYNOPSIS πΈ
enum drm_mode_status drm_hdmi_connector_mode_valid (struct drm_connector
*connector , const struct drm_display_mode *mode );
likeβ¦ it takes two pointers and returns a enum drm_mode_status. no cap, that's the whole vibe check π«Ά
π ARGUMENTS π
connectorβ the DRM connector we're validating the mode for. this is the main character of the operation ngl π₯modeβ the display mode to validate. we're checking this one, bestie, no substitutes π
β DESCRIPTION β
so basically: this is the generic .mode_valid implementation for HDMI connectors β¨. that's it, that's the description, iykyk β it's the stock answer for HDMI connectors so you don't have to hand-roll your own π§
π SEE ALSO π
the kernel file lives at ./drivers/gpu/drm/display/drm_hdmi_state_helper.c (go say hi π), and also you're gonna want these besties:
hdmi helpers(9)__drm_atomic_helper_connector_hdmi_state_init(9)drm_atomic_helper_connector_hdmi_check(9)drm_atomic_helper_connector_hdmi_update_infoframes(9)drm_atomic_helper_connector_hdmi_update_audio_infoframe(9)drm_atomic_helper_connector_hdmi_clear_audio_infoframe(9)drm_atomic_helper_connector_hdmi_hotplug(9)drm_atomic_helper_connector_hdmi_force(9)
and that's the page!! π fr fr you're now an expert on HDMI mode validation. big slay π
cute little sign-off: this one came out of./drivers/gpu/drm/display, dated October 2026, and it's filed underdrm_hdmi_co...r_mode_valid(9)in the Kernel API Manual. 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