drm_mode_probed_add(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– drm_mode_probed_add(9) πŸ’–

ok so bestie, we're in the Kernel API Manual and today's main character is drm_mode_probed_add β€” the little function whose whole job is literally "add a mode to a connector's probed_mode list". Iconic. Lowkey underrated. Periodt.


✨ SYNOPSIS ✨

void drm_mode_probed_add (struct drm_connector *connector , struct
       drm_display_mode *mode );

like, that's the whole thing. two args, void return, no drama. πŸŽ€


🫢 ARGUMENTS 🫢

  • connector β€” the connector that's getting blessed with this shiny new mode
  • mode β€” the actual mode data, aka the whole vibe of the mode itself

🌸 DESCRIPTION 🌸

okay so picture this: you call drm_mode_probed_add and it just... adds mode to the connector's probed_mode list, right? for later use. it's giving "hold this for me bestie, I'll deal with it in a sec" πŸ’…

but here's the tea β€” this is literally only step one. the list you're building up here is not the final list. what happens next is: in a second step, that probed_mode list gets filtered, and then all the modes that the hardware actually supports get moved over to the connector's modes list. so like, probed_mode is the situationship list and modes is the official-relationship list. no cap. ✨

ngl, the ordering matters here β€” probed first, filter second, promote third. don't skip steps, bestie. πŸ¦‹


πŸ‘‘ SEE ALSO πŸ‘‘

kernel file ./drivers/gpu/drm/drm_modes.c β€” that's where the magic lives, go read it fr fr

and the whole friend group, in order:

drm_mode_debug_printmodeline(9), drm_mode_create(9), drm_mode_destroy(9), drm_analog_tv_mode(9), drm_cvt_mode(9), drm_gtf_mode_complex(9), drm_gtf_mode(9), drm_display_mode_from_videomode(9), drm_display_mode_to_videomode(9), drm_bus_flags_from_videomode(9), of_get_drm_display_mode(9), of_get_drm_panel_display_mode(9), drm_mode_set_name(9), drm_mode_vrefresh(9), drm_mode_get_hv_timing(9), drm_mode_set_crtcinfo(9), drm_mode_copy(9), drm_mode_init(9), drm_mode_duplicate(9), drm_mode_match(9), drm_mode_equal(9), drm_mode_equal_no_clocks(9), drm_mode_equal_no_clocks_no_stereo(9), drm_mode_validate_driver(9), drm_mode_validate_size(9), drm_mode_validate_ycbcr420(9), drm_mode_prune_invalid(9), drm_mode_compare(9), drm_mode_sort(9), drm_connector_list_update(9), drm_mode_parse_command_line_for_connector(9), drm_mode_create_from_cmdline_mode(9), drm_mode_convert_to_umode(9), drm_mode_convert_umode(9), drm_mode_is_420_only(9), drm_mode_is_420_also(9), drm_mode_is_420(9), drm_set_preferred_mode(9)

like, the whole squad. slay. πŸ’œ


okay literally everyone shows up in this SEE ALSO so if you're looking for mode-related anything, you're in the right place bestie, iykyk 🌈

anywayyy that's the page! this one came out of ./drivers/gpu/drm in October 2026 under the Kernel API Manual umbrella β€” mwah, kiss kiss, go add some modes πŸ“πŸ’–βœ¨

πŸ“¦ where this page comes from