amdgpu_conn...i_mode_valid(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ amdgpu_connector_dvi_mode_valid β€” the vibe check for your DVI/HDMI modes ✨

okay so bestie, this is a page from the Kernel API Manual πŸ’– and it's all about amdgpu_connector_dvi_mode_valid, which is literally the function that decides whether a display mode is valid on DVI/HDMI connectors. no cap, that's the whole personality.


🌸 NAME 🌸

amdgpu_connector_dvi_mode_valid β€” validate a mode on DVI/HDMI connectors πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

enum drm_mode_status amdgpu_connector_dvi_mode_valid (struct
       drm_connector *connector , const struct drm_display_mode *mode );

so you call it like that, and it hands you back an enum drm_mode_status. iconic signature tbh.


πŸŽ€ ARGUMENTS πŸŽ€

  • connector β€” the DRM connector you wanna validate the mode on 🫢 that's your main character right there.
  • mode β€” the display mode you're validating. yeah. that one. the mode itself ✨

πŸ’œ DESCRIPTION πŸ’œ

okay so what it does: it validates the given display mode on DVI and HDMI connectors, and β€” plot twist β€” that includes the analog signals on DVI-I too 😭πŸ”₯ like it's not just the digital girlies, the analog ones get checked as well. inclusive king behavior fr fr.


⭐ RETURN ⭐

it returns a drm_mode_status indicating whether the mode is valid. that's it, that's the tea πŸ“


🌈 SEE ALSO 🌈

  • Kernel file ./drivers/gpu/drm/amd/amdgpu/amdgpu_connectors.c β€” go read the source, iykyk πŸ‘‘
  • amdgpu_max_hdmi_pixel_clock(9) β€” the bestie function, highly recommend 🧚

ngl if you forget everything else, just remember: DVI + HDMI + DVI-I analog = yes, drm_mode_status = returned. periodt. πŸ’…βœ¨

and that's the whole page, bestie πŸŽ€ this came from the Kernel API Manual, source path ./drivers/gpu/drm/amd/amdgpu, dated October 2026 β€” so go forth and validate those modes, you gorgeous nerd πŸ’–πŸ¦‹πŸŒΈ

πŸ“¦ where this page comes from