drm_of_find_possible_crtcs(9)
π drm_of_find_possible_crtcs π
okay so bestie, welcome to the Kernel API Manual (section 9, yes we're in the kernel docs, we're fancy now π). this one's a little function with a big job and honestly it's giving "quiet main character energy" β let's get into it π¦
β¨ NAME β¨
drm_of_find_possible_crtcs β find the possible CRTCs for an encoder port π
πΈ SYNOPSIS πΈ
uint32_t drm_of_find_possible_crtcs (struct drm_device *dev , struct
device_node *port );
π§ ARGUMENTS π§
devβ the DRM device, aka the whole vibe β¨portβ the encoder port you wanna scan for endpoints π
π DESCRIPTION π
so here's the tea β: this function scans, like, all the endpoints attached to a port β every single one, no skips π«Ά β locates the CRTCs those endpoints are attached to, and then generates the DRM mask of CRTCs that may be attached to this encoder. that's it, that's the whole flex π
it returns a uint32_t, which is your mask, bestie β the icon, the legend, the moment β
ngl, if you wanna know what "port" and "endpoint" even mean in this context, go read the bindings, they're right here π
See https://github.com/devicetree-org/dt-schema/blob/main/dtschema/schemas/graph.yaml for the bindings π
π₯ SEE ALSO π₯
- Kernel file
./drivers/gpu/drm/drm_of.coverview(9) drm_of_crtc_port_mask(9)drm_of_component_match_add(9)drm_of_component_probe(9)drm_of_get_panel_orientation(9)drm_of_find_panel_or_bridge(9)drm_of_lvds_get_dual_link_pixel_order(9)drm_of_lvds_get_dual_link_pixel_order_sink(9)drm_of_lvds_get_data_mapping(9)drm_of_get_data_lanes_count(9)drm_of_get_data_lanes_count_ep(9)drm_of_get_data_lanes_count_remote(9)drm_of_get_dsi_bus(9)
and that's the whole page, bestie, no cap πβ¨ this one lives over in ./drivers/gpu/drm and it's dated October 2026 β so yeah, mark your calendar, screenshot the page, tell your friends π«Άπ see 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