amdgpu_virt_alloc_mm_table(9)
π amdgpu_virt_alloc_mm_table(9) β like, the Kernel API Manual, but make it make sense β¨
okay so bestie, welcome to the Kernel API Manual entry for amdgpu_virt_alloc_mm_table(9) β yes that's the whole function name, no we're not shortening it, she's iconic and she's got a full government name π
πΈ NAME πΈ
amdgpu_virt_alloc_mm_table β alloc memory for mm table
(short king of a description, but it literally does exactly what it says. no notes. π«Ά)
β¨ SYNOPSIS β¨
int amdgpu_virt_alloc_mm_table (struct amdgpu_device *adev );
that's it. that's the whole call. one (1) argument. we love a low-maintenance queen π
π¦ ARGUMENTS π¦
adevβ the amdgpu device. and like, fun fact bestie, the MM table is used by UVD and VCE for its initialization π« so this lil pointer is doing actual work, not just vibing
π₯ RETURN π₯
Zero if allocate success. (zero = the slay outcome, we love to see it π)
π SEE ALSO π
Kernel file ./drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c β the whole friend group lives here, iykyk π
amdgpu_virt_request_full_gpu(9)amdgpu_virt_release_full_gpu(9)amdgpu_virt_reset_gpu(9)amdgpu_virt_ready_to_reset(9)amdgpu_virt_wait_reset(9)amdgpu_virt_free_mm_table(9)amdgpu_virt_rcvd_ras_interrupt(9)amdgpu_virt_ras_realloc_eh_data_space(9)
like, go read those too? they're all in the same squad, no cap π«Ά
ngl if you're calling this, remember it's int, so check that return value β zero means success, anything else means something's giving not slay π
and that's the tea, bestie π this page is filed under ./drivers/gpu/drm/amd/amdgpu, dated October 2026 β mwah, go touch some registers π
π§ββοΈ
π¦ 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