drm_debugfs_dev_fini(9)
π drm_debugfs_dev_fini β like, the manual manual
okay so bestie, we're in the Kernel API Manual and the star of the show is drm_debugfs_dev_fini π she's the one who cleans up the debugfs directory. yes, that's her whole job and she does it flawlessly.
β¨ SYNOPSIS
void drm_debugfs_dev_fini (struct drm_device *dev );
that's it. one function, one argument, zero drama π
π«Ά ARGUMENTS
devβ the device whose debugfs stuff needs to get cleaned up. that's the one. she's the main character of this operation π
πΈ DESCRIPTION
okay so picture this: there's a debugfs directory, right? and we need it gone. drm_debugfs_dev_fini removes it. iconic behaviour, no notes π₯
the way that this might be called multiple times though π β yes, fr fr, she's built different and she handles being called more than once. don't panic, it's fine, it's giving "unbothered queen" energy π
π¦ SEE ALSO
squad roundup, everyone say hi π«Ά
drm_debugfs_gpuva_info(9)drm_debugfs_create_files(9)drm_debugfs_clients_add(9)drm_debugfs_clients_remove(9)drm_debugfs_dev_init(9)drm_debugfs_add_file(9)drm_debugfs_add_files(9)
and also, bestie, the kernel file itself: ./drivers/gpu/drm/drm_debugfs.c β go read her, she ate π
mwah π that's the whole page! brought to you by the lovely folks at ./drivers/gpu/drm and dated October 2026 β slay, bye bestie! πβ¨
π¦ 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