drm_connect...tv_get_modes(9)
π drm_connect...tv_get_modes(9) π
okay so bestie, welcome to the Kernel API Manual β¨ β this one's about drm_connector_helper_tv_get_modes, which lowkey has the longest name ever but it's iconic, periodt.
πΈ NAME πΈ
drm_connector_helper_tv_get_modes β fills the modes availables to a TV connector πΊπ
(no fr that's literally what it does, it's giving "here are all your display options, bestie")
β¨ SYNOPSIS β¨
int drm_connector_helper_tv_get_modes (struct drm_connector *connector
);
π ARGUMENTS π
connectorβ the connector π«Ά (yep. that's it. that's the whole argument. love that for us)
π¦ DESCRIPTION π¦
So the way that this works: it fills in the available modes for a TV connector, based on the supported TV modes and the default mode expressed by the kernel command line. π―
And honestly? It's so useful β you can totally use this as the default TV connector helper .get_modes hook if the driver doesn't need any special processing. no extra work, no custom code, just vibes π
β¨
β RETURN β
It returns the number of modes added to the connector π’π
π SEE ALSO π
okay so this list is long but every single one of these is a friend of the family, so here we go, no skips, no cap:
- Kernel file
./drivers/gpu/drm/drm_probe_helper.coutput 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_fixed(9)drm_connector_helper_get_modes(9)drm_connector_helper_detect_from_ddc(9)
like, the whole squad. iykyk π
ngl, careful reading the modes stuff β it's all above board here, nothing sketchy, just a helper doing its thing π§ββοΈ
aaaand that's the page bestie!! π₯³ this one comes straight from ./drivers/gpu/drm, dated October 2026, and it's drm_connect...tv_get_modes(9) in the Kernel API Manual β go off, you understood it, slay πππ«Άπ₯
π¦ 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