STRUCT AMDGPU_VM_UPDATE_PARAMS(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 β€” true if 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 IB
  • needs_flush β€” true whenever we need to invalidate the TLB 🚽✨
  • override_pte β€” true for 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 🌈


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