drm_connecto..._modes_fixed(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… drm_connecto..._modes_fixed(9)

ok so bestie, first things first: this page lives in the Kernel API Manual, and the function we're stanning is drm_connector_helper_get_modes_fixed. Yes the title got cut off with an ellipsis, no we're not going to be normal about it. πŸŽ€


✨ NAME ✨

drm_connector_helper_get_modes_fixed β€” literally just duplicates a display mode for a connector. that's it. that's the whole gig. πŸ¦‹


🌸 SYNOPSIS 🌸

int drm_connector_helper_get_modes_fixed (struct drm_connector
*connector , const struct drm_display_mode *fixed_mode );

like, copy that exactly, don't @ me πŸ’…


πŸŽ€ ARGUMENTS πŸŽ€

  • connector β€” the connector. the main character, honestly. 🫢
  • fixed_mode β€” the display hardware's mode. the one (1) mode it's got going on. ✨

🌈 DESCRIPTION 🌈

okay so here's the vibe: this function duplicates a display modes for a connector (yes, the grammar is exactly like that in the original, and honestly? iconic. we keep it. 😭).

the real tea πŸ“ is that drivers for hardware that only supports a single fixed mode can use this function in their connector's get_modes helper. so if your hardware is a one-mode wonder, this is your girl. no cap. πŸ‘‘


⭐ RETURN ⭐

The number of created modes. that's the return value. a number. of modes. created. periodt. πŸ’€


πŸ”₯ SEE ALSO πŸ”₯

the whole squad, no one gets left behind 🫢 β€” Kernel file ./drivers/gpu/drm/drm_probe_helper.c output probing helper overview(9), drm_kms_helper_poll_enable(9), drm_kms_helper_poll_reschedule(9), drm_helper_probe_detect(9), drm_helper_probe_single_connector_modes(9), drm_kms_helper_hotplug_event(9), drm_kms_helper_connector_hotplug_event(9), drm_kms_helper_is_poll_worker(9), drm_kms_helper_poll_disable(9), drm_kms_helper_poll_init(9), drm_kms_helper_poll_fini(9), drmm_kms_helper_poll_init(9), drm_connector_helper_hpd_irq_event(9), drm_helper_hpd_irq_event(9), drm_crtc_helper_mode_valid_fixed(9), drm_connector_helper_get_modes(9), drm_connector_helper_tv_get_modes(9), drm_connector_helper_detect_from_ddc(9). πŸ’–


ngl bestie, that's a lot of poll helpers. go read them. or don't. i'm a manpage, not a cop. πŸ™ˆ

and that's the whole page!! πŸ’œ this one's from ./drivers/gpu/drm, dated October 2026 β€” mwah, catch you in the next manpage, love u, bye!! 🧚✨

πŸ“¦ where this page comes from