drm_gem_shmem_print_info(9)
π drm_gem_shmem_print_info(9) π
okay so bestie, welcome to the Kernel API Manual β¨ this one's a tiny little function from the DRM/graphics side of the kernel and honestly? she's a supporting character with main character energy π
πΈ NAME πΈ
drm_gem_shmem_print_info β literally just prints out info about a &drm_gem_shmem_object for debugfs π«Ά that's it, that's the whole job, and she does it slayfully
β¨ SYNOPSIS β¨
void drm_gem_shmem_print_info (const struct drm_gem_shmem_object *shmem
, struct drm_printer *p , unsigned int indent );
no cap, that's the whole signature π returns void, meaning she gives you nothing back β her gift is the information, iykyk π
π ARGUMENTS π
shmemβ the shmem GEM object in question π¦ this is the thing we're spilling the tea aboutpβ the DRM printer πΈ this is where the output goes, she's the messengerindentβ tab indentation level π how far over she sits in the debugfs output, because formatting matters and we are obsessed with a clean layout
π SEE ALSO π
the whole shmem friend group, fr fr β go say hi to all of them:
- the kernel file
./drivers/gpu/drm/drm_gem_shmem_helper.coverview(9) drm_gem_shmem_init(9)drm_gem_shmem_create(9)drm_gem_shmem_release(9)drm_gem_shmem_free(9)drm_gem_shmem_pin(9)drm_gem_shmem_unpin(9)drm_gem_shmem_create_with_handle(9)drm_gem_shmem_dumb_create(9)drm_gem_shmem_mmap(9)drm_gem_shmem_get_sg_table(9)drm_gem_shmem_get_pages_sgt(9)drm_gem_shmem_prime_import_sg_table(9)drm_gem_shmem_prime_import_no_map(9)
π«Ά friendly reminder that this is a kernel API function, so treat her with respect β she's not out here doing vibes-based error handling for you π
and that's the page, bestie π brought to you by ./drivers/gpu/drm, October 2026, Kernel API Manual era β periodt, go read some source code π₯π§
π¦ 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