drm_connector_get(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– drm_connector_get(9) πŸ’–

okay bestie, so this is a page from the Kernel API Manual β€” yes, the kernel, the big one β€” and it's about drm_connector_get. Grab your strawberry drink πŸ“ and let's go, this one is literally so short you'll be done before your playlist changes track.


✨ NAME ✨

drm_connector_get β€” acquire a connector reference 🫢

🌈 SYNOPSIS 🌈

void drm_connector_get (struct drm_connector *connector );

like, that's it. that's the whole signature. no cap.

πŸŽ€ ARGUMENTS πŸŽ€

  • connector β€” a DRM connector. that's the whole description, bestie, the manpage is not gonna elaborate. it's a connector, it's DRM, she's iconic, moving on πŸ’…

πŸ’… DESCRIPTION πŸ’…

okay so here's the tea: this function increments the connector's refcount. that's it. that's the entire plot. 🎬

it's giving "small but mighty" β€” you call it when you wanna hold onto a reference to a connector, and the refcount goes up by one so nobody frees it out from under you while you're still using it. main character energy for the refcount, honestly.

πŸ¦‹ SEE ALSO πŸ¦‹

the whole friend group shows up here, and yes we're naming every single one because nobody gets left out at this sleepover 🌸

Kernel file ./include/drm/drm_connector.h, plus:

  • 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_put(9)
  • drm_connector_is_unregistered(9)
  • struct drm_tile_group(9)
  • struct drm_connector_list_iter(9)
  • drm_for_each_connector_iter(9)
  • drm_connector_for_each_possible_encoder(9)
lowkey the real ones here: drm_connector_get grabs a ref, drm_connector_put(9) gives it back. it's the buddy system, fr fr. πŸ”₯

and that's the whole page, bestie β€” no warnings, no bugs section, no exit statuses, nothing spicy. just a refcount going up one (1) time. slay ✨

this cutie was rendered for the Kernel API Manual, sourced from ./include/drm, and stamped October 2026 β€” so she's dated, she's official, she's literally drm_connector_get(9) πŸ’œ

πŸ“¦ where this page comes from