amdgpu_vm_adjust_size(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… amdgpu_vm_adjust_size(9)

okay so bestie, welcome to the Kernel API Manual β€” today's main character is amdgpu_vm_adjust_size(9), and honestly? she's a little function with a big job πŸŽ€


✨ NAME ✨

amdgpu_vm_adjust_size β€” adjust vm size, block size and fragment size

periodt, that's the whole vibe: she adjusts vm size, block size and fragment size. three things. iconic multitasker πŸ’…


🌸 SYNOPSIS 🌸

void amdgpu_vm_adjust_size (struct amdgpu_device *adev , uint32_t
min_vm_size , uint32_t fragment_size_default , unsigned max_level ,
unsigned max_bits );

no cap, that's the exact signature, copy it character for character bestie 🫢


πŸ¦‹ ARGUMENTS πŸ¦‹

okay here's the cast list, everyone gets a moment:

  • adev β€” amdgpu_device pointer. yeah, the classic. the device itself walks in πŸ’–
  • min_vm_size β€” the minimum vm size in GB if it's set auto β€” read that clause again, it's conditional, don't @ me πŸ™ˆ
  • fragment_size_default β€” Default PTE fragment size. she's the default, she said so in the name πŸŽ€
  • max_level β€” max VMPT level 🌈
  • max_bits β€” max address space size in bits ⭐

that's all five, nobody left out, we love a complete cast πŸ”₯


πŸ‘‘ SEE ALSO πŸ‘‘

bestie. brace yourself. the girl has a friend group and I'm listing every single one of them because every single one of them matters πŸ’€

first, the home turf: Kernel file ./drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c

and then, in no particular order but honestly in the original order because I'm not about to mess with facts:

sixty-eight plus the file path, and yes I counted, and yes I'm obsessed with her for having this many friends 🌟 lowkey the prt squad alone is giving main character energy πŸ’œ


ngl bestie, this page is short and sweet β€” no warnings, no exit statuses, no environment variables, no bug notes on this one. she's a clean girlie ✨ just args and a whole extended family in SEE ALSO.

and that's the whole page, bestie! sourced from ./drivers/gpu/drm/amd/amdgpu, dated October 2026, and filed under amdgpu_vm_adjust_size(9) β€” say it with me, slay πŸŽ€πŸ¦‹πŸ’–

πŸ“¦ where this page comes from