amdgpu_vm_cpu_map_table(9)
πΈ amdgpu_vm_cpu_map_table β a little intro π
okay so welcome to the Kernel API Manual, bestie, this one is short and sweet and honestly kind of a vibe. it's giving "tiny helper function that makes sure everything's mapped before anybody touches it" β¨
β¨ NAME β¨
amdgpu_vm_cpu_map_table β the function whose whole job is to make sure new PDs/PTs are kmapped π
like. no cap. that's the mission statement. new page directories and page tables? they get kmapped. periodt.
π SYNOPSIS π
int amdgpu_vm_cpu_map_table (struct amdgpu_bo_vm *table );
it hands back an int, so you already know to check your return value, iykyk π
π¦ ARGUMENTS π¦
tableβ the newly allocated or validated PD/PT π«Ά that's it. that's the whole parameter list. it's astruct amdgpu_bo_vm *and it's freshly allocated or freshly validated, depending on which way the wind's blowing π
β SEE ALSO β
the source lives right here, go look, it's literally one file:
Kernel file ./drivers/gpu/drm/amd/amdgpu/amdgpu_vm_cpu.c
and it's got friends in the same little friend group π:
go read those too, they're iconic, they're the main character energy of this file fr fr π
ok that's the whole page bestie, it was a short one, go forth and map responsibly π§
and finally, the little sign-off πΈ: this cutie lives in ./drivers/gpu/drm/amd/amdgpu, it's dated October 2026, and the whole thing is filed under the Kernel API Manual and section 9. mwah π
π¦ 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