amdgpu_gem_va_update_vm(9)
π amdgpu_gem_va_update_vm β like, the whole vibe
okay so bestie, welcome to the Kernel API Manual β¨ this one's about amdgpu_gem_va_update_vm(9) and it's literally the page that tells you how to update the bo_va in its VM. no cap. let's get into it π
πΈ NAME πΈ
amdgpu_gem_va_update_vm β update the bo_va in its VM π¦
like... that's the whole job. it updates the bo_va. in its VM. iconic behavior honestly π
β¨ SYNOPSIS β¨
struct dma_fence * amdgpu_gem_va_update_vm (struct amdgpu_device *adev ,
struct amdgpu_vm *vm , struct amdgpu_bo_va *bo_va , uint32_t operation
);
so you hand it an adev, a vm, a bo_va and an operation, and it gives you back a struct dma_fence *. that's the shape of it, copy it exactly bestie, no typos allowed π
π«Ά ARGUMENTS π«Ά
adevβ anamdgpu_devicepointer. it's giving "the device in question" energy π₯vmβ the vm to update. yes, this is the VM we're updating. main character energy fr πbo_vaβ thebo_vato update. she's the one getting refreshed πΈoperationβmap,unmaporclear. three options, pick your fighter π
π DESCRIPTION π
so the deal is: you update the bo_va directly after setting its address. that's the sequence, don't skip steps bestie π
and here's the lowkey important bit β errors are not vital here, so they are not reported back to userspace. like, the kernel is just gonna vibe through it. no error message, no nothing. ngl that's a whole mood π
what it returns:
- the resulting fence if freed BO(s) got cleared from the PT π₯
- otherwise a stub fence in case of error. cute little consolation prize iykyk π
π SEE ALSO π
- Kernel file:
./drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c amdgpu_gem_timeout(9)amdgpu_gem_list_handles_ioctl(9)
go read those too, they're literally right there, bestie π¦
reminder bestie: the errors get swallowed here on purpose. that's not a bug, that's the documented vibe. don't come for me π
mwah π that's the whole page! source lives in ./drivers/gpu/drm/amd/amdgpu, dated October 2026 β and this little API manual moment was brought to you by the Kernel API Manual gang. slay, bye π§β¨
π¦ 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