drm_show_memory_stats(9)
β¨ drm_show_memory_stats π
okay so bestie, welcome to drm_show_memory_stats(9) β this is the Kernel API Manual page for it, and honestly? it's a little helper with main character energy π it's the "collect and show standard fdinfo memory stats" girly, and it does exactly what it says on the tin β¨
πΈ NAME πΈ
drm_show_memory_stats β the helper to collect and show standard fdinfo memory stats, no cap π«Ά
π¦ SYNOPSIS π¦
void drm_show_memory_stats (struct drm_printer *p , struct drm_file
*file );
like, that's the whole signature. so clean. so iconic. π
π ARGUMENTS π
pβ the printer to print the output to π¨οΈ it's literally where the words go, bestie.fileβ the DRM file π the file we're snooping through, respectfully.
β DESCRIPTION β
so this helper iterates over GEM objects with a handle allocated in the specified file π that's it, that's the whole vibe. it loops through them and does the showing thing. periodt.
π₯ SEE ALSO π₯
the group chat of related reads, ft. the whole drm_file.c crew ππ
- Kernel file
./drivers/gpu/drm/drm_file.cfile operations(9) drm_file_alloc(9)drm_file_free(9)drm_open(9)drm_release(9)drm_release_noglobal(9)drm_read(9)drm_poll(9)drm_event_reserve_init_locked(9)drm_event_reserve_init(9)drm_event_cancel_free(9)drm_send_event_timestamp_locked(9)drm_send_event_locked(9)drm_send_event(9)drm_print_memory_stats(9)drm_show_fdinfo(9)drm_file_err(9)mock_drm_getfile(9)
π«Ά ok that's the whole page, bestie β every flag, every arg, every reference, all accounted for. go show those memory stats π
mwah π this page lives in ./drivers/gpu/drm, it's dated October 2026, and it's still out here answering to the name drm_show_memory_stats(9) β slay, honestly πβ
π¦ 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