amdgpu_conn...i_mode_valid(9)
β¨ 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
- 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