drm_edid_con...or_add_modes(9)
β¨ drm_edid_connector_add_modes β¨
okay bestie, welcome to the drm_edid_connector_add_modes(9) page β that's the kernel API manual entry, and yes the header truncates it to drm_edid_con...or_add_modes(9) because even manpage headers have a character limit π
πΈ NAME πΈ
drm_edid_connector_add_modes β literally the function that updates your probed modes from the EDID property π₯οΈβ¨
π SYNOPSIS π
int drm_edid_connector_add_modes (struct drm_connector *connector );
yes queen, that's the whole signature, take it in π«Ά
π¦ ARGUMENTS π¦
connectorβ the connector. that's it. that's the argument. it's thestruct drm_connector *you're doing this whole thing for π
β DESCRIPTION β
So here's the vibe: this function adds the modes from the previously updated EDID property onto the connector's probed modes list. Like, it's taking what's already sitting in the EDID property and going "okay these go on the list now" πβ¨
π¨ important caveat, no cap: drm_edid_connector_update must have been called before this one, so that the EDID property is actually updated. don't skip steps bestie, the order matters π
π₯ RETURN π₯
It returns the number of modes that got added π β or 0 if we couldn't find any. zero. nada. nothing. it happens π
π SEE ALSO π
Kernel file ./drivers/gpu/drm/drm_edid.c, plus the whole friend group:
drm_edid_header_is_valid(9)drm_edid_is_valid(9)drm_edid_valid(9)drm_do_probe_ddc_edid(9)drm_edid_override_connector_update(9)drm_edid_raw(9)drm_edid_alloc(9)drm_edid_dup(9)drm_edid_free(9)drm_probe_ddc(9)drm_get_edid(9)drm_edid_read_custom(9)drm_edid_read_ddc(9)drm_edid_read(9)drm_edid_get_product_id(9)drm_edid_print_product_id(9)drm_edid_get_panel_id(9)drm_edid_read_base_block(9)drm_get_edid_switcheroo(9)drm_edid_read_switcheroo(9)drm_edid_duplicate(9)edid_get_quirks(9)drm_match_cea_mode(9)drm_display_mode_from_cea_vic(9)drm_edid_match(9)drm_edid_get_monitor_name(9)drm_edid_to_sad(9)drm_edid_to_speaker_allocation(9)drm_av_sync_delay(9)drm_detect_hdmi_monitor(9)drm_detect_monitor_audio(9)drm_default_rgb_quant_range(9)drm_edid_connector_update(9)drm_connector_update_edid_property(9)drm_add_edid_modes(9)drm_add_modes_noedid(9)drm_hdmi_avi_infoframe_from_display_mode(9)drm_hdmi_avi_infoframe_quant_range(9)drm_hdmi_vendor_infoframe_from_display_mode(9)drm_edid_is_digital(9)
like, the entire EDID cinematic universe fr fr π
that's the page bestie!! this little gem lives in ./drivers/gpu/drm and the docs are stamped October 2026 β go forth and add those modes, you absolute icon πππ¦
π¦ 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