drm_hdmi_co...r_mode_valid(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ¦‹ 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:


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 under drm_hdmi_co...r_mode_valid(9) in the Kernel API Manual. mwah πŸ’‹βœ¨
πŸ“¦ where this page comes from