drm_connector_put(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… drm_connector_put(9) β€” a Kernel API Manual moment

Okay bestie, welcome to the drm_connector_put(9) page from the Kernel API Manual. It's a short one but it's lowkey important, so pay attention πŸ’–


✨ NAME ✨

drm_connector_put β€” release a connector reference 🫢


✨ SYNOPSIS ✨

void drm_connector_put (struct drm_connector *connector );

That's the whole signature, no cap. One function, one pointer, done. πŸŽ€


✨ ARGUMENTS ✨

  • connector β€” the DRM connector in question, your main character struct πŸ’…

✨ DESCRIPTION ✨

So here's the tea β˜• β€” this function decrements the connector's reference count, and if that reference count drops all the way down to zero, it frees the object. That's it. That's the whole vibe. Literally the cleanup era of the connector's life cycle πŸ¦‹

Think of it like leaving the group chat: refcount goes down, and when the last person dips, the chat gets deleted fr fr πŸ’€

🌈 SEE ALSO 🌈

The kernel file lives at ./include/drm/drm_connector.h, and it's surrounded by so many iconic friends πŸ‘‘ β€” here's the whole squad:

  • 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_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)

Go read some of those, iykyk πŸ“šβœ¨


That's the page!! This one comes to you from ./include/drm, dated October 2026 β€” mwah, stan the kernel docs, bye bestie πŸ’œπŸŽ€πŸŒŸ

πŸ“¦ where this page comes from