drm_connect...ible_encoder(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ drm_connect...ible_encoder(9) ✨

okay so this is a page from the Kernel API Manual and it's literally just one little macro, but she's an icon, she's a vibe, we love her πŸ’… no cap.


πŸ’– NAME πŸ’–

drm_connector_for_each_possible_encoder β€” bestie, this one iterates a connector's possible encoders πŸŽ€

πŸ¦‹ SYNOPSIS πŸ¦‹

drm_connector_for_each_possible_encoder (connector , encoder );

🌸 ARGUMENTS 🌸

  • connector β€” a struct drm_connector pointer 🫢 like, this is the connector you're looping over, the main character honestly
  • encoder β€” a struct drm_encoder pointer, and she's used as the cursor ✨ like she gets reassigned on every pass through the loop, that's her whole job

πŸ’œ SEE ALSO πŸ’œ

Kernel file ./include/drm/drm_connector.h β€” go read it, it's giving reference material πŸ‘‘

and then the whole friend group, no one gets left out:

  • enum drm_connector_status(9)
  • enum drm_connector_registration_state(9)
  • enum drm_connector_tv_mode(9)
  • struct drm_scrambling(9)
  • struct drm_hdmi_dsc_cap(9)
  • struct drm_hdmi_info(9)
  • enum drm_link_status(9)
  • enum drm_panel_orientation(9)
  • enum drm_hdmi_broadcast_rgb(9)
  • struct drm_monitor_range_info(9)
  • struct drm_luminance_range_info(9)
  • enum drm_privacy_screen_status(9)
  • enum drm_colorspace(9)
  • enum drm_output_color_format(9)
  • enum drm_connector_color_format(9)
  • enum drm_bus_flags(9)
  • struct drm_amd_vsdb_info(9)
  • struct drm_display_info(9)
  • struct drm_connector_tv_margins(9)
  • struct drm_tv_connector_state(9)
  • struct drm_connector_hdmi_infoframe(9)
  • struct drm_connector_state(9)
  • struct drm_connector_cec_funcs(9)
  • struct drm_connector_infoframe_funcs(9)
  • struct drm_connector_hdmi_funcs(9)
  • struct drm_connector_funcs(9)
  • struct drm_cmdline_mode(9)
  • struct drm_connector_hdmi_audio(9)
  • struct drm_connector_cec(9)
  • struct drm_connector(9)
  • drm_connector_lookup(9)
  • drm_connector_get(9)
  • drm_connector_put(9)
  • drm_connector_is_unregistered(9)
  • struct drm_tile_group(9)
  • struct drm_connector_list_iter(9)
  • drm_for_each_connector_iter(9)

bestie reminder: the two names in the synopsis are the only two arguments, and encoder is a cursor, so don't go treating her like a fixed value, mwah πŸ’‹

that's the whole page!! short and sweet, just like she is 🌈 anyway, this tea was served up by <./include/drm> in October 2026, and the page itself answers to drm_connect...ible_encoder(9) β€” ily, go iterate something πŸ’–πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from