drm_dev_put(9)
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 orNULL. Yep,NULLis 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:
- Kernel file
./drivers/gpu/drm/drm_drv.cdriver instance overview(9) drm_put_dev(9)drm_dev_enter(9)drm_dev_exit(9)drm_dev_unplug(9)drm_dev_set_dma_dev(9)drm_dev_wedged_event(9)component helper usage recommendations(9)__drm_dev_alloc(9)drm_dev_alloc(9)drm_dev_get(9)drmm_cgroup_register_region(9)drm_dev_register(9)drm_dev_unregister(9)
mwah π β source/version: ./drivers/gpu/drm, date: October 2026, page: drm_dev_put(9). Footer tea delivered, periodt π«Ά
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms