drm_of_find_possible_crtcs(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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 πŸ”₯


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