STRUCT AMDGPU_VM_UPDATE_PARAMS(9)
π struct amdgpu_vm_update_params(9) π
okay so bestie, welcome to the Kernel API Manual page for struct amdgpu_vm_update_params β yes the title literally gets truncated to struct amdgp...pdate_params(9) everywhere, it's giving cunty little ellipsis, we love that for it π
β¨ NAME β¨
struct amdgpu_vm_update_params β and ngl, the manpage just leaves the description blank after the dash. Iconic behavior honestly. Sometimes you just don't need to explain yourself π«Ά
π¦ SYNOPSIS π¦
struct amdgpu_vm_update_params {
struct amdgpu_device *adev;
struct amdgpu_vm *vm;
bool immediate;
bool unlocked;
dma_addr_t *pages_addr;
struct amdgpu_job *job;
unsigned int num_dw_left;
bool needs_flush;
bool override_pte;
struct list_head tlb_flush_waitlist;
};
look at her. ten fields. main character energy fr fr β¨
π Members π
okay bestie let's go field by field, no skipping, we don't do that here:
adevβ the amdgpu device we do this update for πvmβ optional amdgpu_vm we do this update for (yes it's optional, she's flexible)immediateβ if changes should be made immediately β‘unlockedβtrueif the root BO is not locked πpages_addrβ DMA addresses to use for mapping πΊοΈjobβ job to used for hw submission (grammar said what it said, we're keeping it π)num_dw_leftβ number of dw left for the IBneeds_flushβtruewhenever we need to invalidate the TLB π½β¨override_pteβtruefor memory that is not uncached and gmc override function is implemented to allow MTYPE to be overridden for NUMA local memory π§tlb_flush_waitlistβ temporary storage for BOs until tlb_flush π¦
πΈ Description πΈ
so the whole point, the entire raison d'Γͺtre of this struct: it encapsulates some VM table update parameters to reduce the number of function parameters π
that's it. that's the vibe. she's a bundle, she's a little bag of args, she exists so your function signatures don't look like a CVS receipt π
π SEE ALSO π
- Kernel file
./drivers/gpu/drm/amd/amdgpu/amdgpu_vm.hπ amdgpu_vm_tlb_seq(9)β
and that's the page bestie!! before you go β this lil masterpiece lives under ./drivers/gpu/drm/amd/amdgpu, dated October 2026, and the footer just repeats struct amdgp...pdate_params(9) at us one more time like a lil echo. slay, periodt, 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