drm_dev_exit(9)
π drm_dev_exit(9) β from the Kernel API Manual, bestie β¨
Okay so hi, welcome to the drm_dev_exit page, aka your exit-ticket out of the critical section π this one lives in the Kernel API Manual and it's short but iconic.
πΈ NAME πΈ
drm_dev_exit β Exit device critical section πͺβ¨
π¦ SYNOPSIS π¦
void drm_dev_exit (int idx );
π ARGUMENTS π
idxβ the index thatdrm_dev_enterhanded you back π«Ά that's literally it, just pass the same one along, no cap.
β¨ DESCRIPTION β¨
So picture this: drm_dev_exit marks the end of a section that should not be entered after the device has been unplugged π like, that's the whole vibe. You're closing the door on the critical section, bestie, politely and on purpose πͺπ
It's giving "matching pair energy" with drm_dev_enter β you go in, you do your thing, you come out with this. Periodt.
π SEE ALSO π
- Kernel file
./drivers/gpu/drm/drm_drv.c - driver instance overview(9)
- drm_put_dev(9)
- drm_dev_enter(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)
- drm_dev_put(9)
- drmm_cgroup_register_region(9)
- drm_dev_register(9)
- drm_dev_unregister(9)
π lowkey go read drm_dev_enter(9) first if you haven't, they're a matched set iykyk π
mwah π that's the page, bestie β brought to you by the fine folks at ./drivers/gpu/drm, dated October 2026, and yes this is still drm_dev_exit(9) and it ate πβ¨
π¦ 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