amdgpu_vm_flush(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… amdgpu_vm_flush(9) πŸ’…

okay bestie, welcome to the Kernel API Manual ✨ β€” this is the page for amdgpu_vm_flush, and it's literally the "hardware flush the vm" girly. no cap. πŸ¦‹


🌸 NAME 🌸

amdgpu_vm_flush β€” hardware flush the vm πŸ’«


✨ SYNOPSIS ✨

void amdgpu_vm_flush (struct amdgpu_ring *ring , struct amdgpu_job *job
, bool *need_pipe_sync , bool *emit_spm_needed , bool *emit_gds_needed
);

like, that's the whole signature, character for character, don't @ me πŸŽ€


🎯 ARGUMENTS 🎯

  • ring β€” ring to use for flush πŸ’ (yes it's called ring, yes it's the flush ring, slay)
  • job β€” the related job, i.e. the job this flush is attached to 🫢
  • need_pipe_sync β€” is pipe sync needed? it's a bool * so the callee can tell you πŸ‘€
  • emit_spm_needed β€” does the caller need to emit spm? yes this is a real question you have to answer 😭
  • emit_gds_needed β€” does the caller need to emit gds? same vibe, different flag πŸ’€

🧚 DESCRIPTION 🧚

Emit a VM flush when it is necessary.

that's it. that's the description. iconic, honestly β€” minimal, no notes, periodt πŸ’… the function does the thing only when the thing needs doing, and that's the whole tea β˜•


πŸ”₯ SEE ALSO πŸ”₯

Kernel file ./drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c β€” yes, that's where the source lives 🏠

and now the friend group, aka the entire amdgpu_vm extended universe. buckle up bestie, it's long πŸ‘‘πŸŒˆ

like… that's a whole friend group text chain and every single one of them made it onto the list πŸ’– no skipping, we don't do that here 🫢


πŸ’œ reminder bestie: all those (9) refs are section 9 kernel API pages, so if a name doesn't autocomplete for you, that's a you problem, not a typo. iykyk πŸ’…

okay that's the whole page!! πŸŽ€ this was brought to you from ./drivers/gpu/drm/amd/amdgpu, dated October 2026 β€” go forth and flush responsibly, bestie πŸŒˆβ­πŸ’–

πŸ“¦ where this page comes from