amdgpu_preempt_mgr_fini(9)
π NAME π
okay so this is amdgpu_preempt_mgr_fini(9) from the Kernel API Manual, and it is literally here to free and destroy the GTT manager. cleanup era, bestie. π§Ήβ¨
πΈ SYNOPSIS πΈ
the signature is giving exactly this, verbatim:
void amdgpu_preempt_mgr_fini (struct amdgpu_device *adev );
π ARGUMENTS π
adevβ anamdgpu_devicepointer. that's your device context, bestie; pass the pointer. π«Ά
π DESCRIPTION π
okay so this one destroys and frees the GTT manager β full cleanup behavior, no crumbs left. π¦
and listen: it returns -EBUSY if ranges are still allocated inside it. so if ranges are still chillin' in there, that's the signal. yes, the synopsis says void, but the docs still call out that -EBUSY return, so keep both facts in your notes, fr fr. ππ
π¦ SEE ALSO π¦
- Kernel file:
./drivers/gpu/drm/amd/amdgpu/amdgpu_preempt_mgr.c mem_info_preempt_used(9)amdgpu_preempt_mgr_sysfs_fini(9)amdgpu_preempt_mgr_new(9)amdgpu_preempt_mgr_del(9)amdgpu_preempt_mgr_init(9)
bye bestie! source/version: ./drivers/gpu/drm/amd/amdgpu β’ date: October 2026. stay preemptively iconic. ππ
π¦ 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