drm_dev_put(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay so bestie, welcome to drm_dev_put(9) from the Kernel API Manual β€” yes, the manual name is right there, folded in like a cute lil header note πŸ’–.

🌸 NAME 🌸

drm_dev_put β€” drop reference of a DRM device. That's the name, and she's iconic.

✨ SYNOPSIS ✨

void drm_dev_put (struct drm_device *dev );

πŸŽ€ ARGUMENTS πŸŽ€

  • dev β€” device to drop reference of or NULL. Yep, NULL is literally listed here, no cap 🫢.

πŸ’… DESCRIPTION πŸ’…

This decreases the ref-count of dev by one. The device is destroyed if the ref-count drops to zero.

So like: one ref down πŸ’…, and if that was the last one and the ref-count hits zero, the device gets destroyed. That's the whole plot, bestie β€” this page has no extra lore.

πŸ¦‹ SEE ALSO πŸ¦‹

go give these a look, iykyk:

mwah πŸ’‹ β€” source/version: ./drivers/gpu/drm, date: October 2026, page: drm_dev_put(9). Footer tea delivered, periodt 🫢

πŸ“¦ where this page comes from