drm_connecto..._modes_fixed(9)
π 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
- 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