amdgpu_gtt_mgr_debug(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… amdgpu_gtt_mgr_debug(9) β€” from the Kernel API Manual, bestie

okay so picture this: you're deep in the kernel, you're looking at the AMD GPU driver, and you just need to see what's going on inside that table. That's literally this function's whole job. It lives in the Kernel API Manual, and honestly? iconic of it.


✨ NAME ✨

amdgpu_gtt_mgr_debug β€” dump VRAM table πŸ’–

(yes bestie, that's what it says, that's what we're going with β€” no cap)


✨ SYNOPSIS ✨

void amdgpu_gtt_mgr_debug (struct ttm_resource_manager *man , struct
       drm_printer *printer );

she takes two args and returns void, meaning she does her thing and dips without handing anything back. main character energy fr πŸŽ€


✨ ARGUMENTS ✨

  • man β€” the TTM memory type manager 🌸 like, the actual manager object for the memory type you're poking at.
  • printer β€” the DRM printer to use ✨ this is the lil output hook that decides where all the pretty words go.

✨ DESCRIPTION ✨

Dump the table content using printk. πŸ“ That's the whole vibe! She pulls the table contents out and sends them through printk so you can actually see them. Lowkey simple, highkey useful 🫢


✨ SEE ALSO ✨

first up, the source file itself, go read her when you're feeling brave:

./drivers/gpu/drm/amd/amdgpu/amdgpu_gtt_mgr.c

and the whole friend group of related functions, all in their (9) era πŸ‘‘:


okay that's the whole page, you ate that πŸ’… one last thing β€” this masterpiece comes from ./drivers/gpu/drm/amd/amdgpu and it's dated October 2026, so yeah, she's from the future and she's slaying there too πŸ¦‹βœ¨ go forth and debug, bestie πŸŒˆπŸ’œ

πŸ“¦ where this page comes from