amdgpu_gart_dummy_page_init(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ amdgpu_gart_dummy_page_init(9) πŸŽ€

okay bestie, welcome to the Kernel API Manual β€” we're looking at the function that gets the driver's little placeholder page ready, and yes it's giving main character setup energy ✨

✨ NAME ✨

amdgpu_gart_dummy_page_init β€” init dummy page used by the driver πŸ’…

🌸 SYNOPSIS 🌸

int amdgpu_gart_dummy_page_init (struct amdgpu_device *adev );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • adev β€” amdgpu_device pointer, bestie 🫢

πŸ’– DESCRIPTION πŸ’–

So this function allocates the dummy page used by the driver (all asics). This dummy page is used by the driver as a filler for gart entries when pages are taken out of the GART. Returns 0 on sucess, -ENOMEM on failure 😭

yes, "sucess" is spelled exactly like that in the original β€” we keep the lore fr fr πŸ’€

πŸ”₯ SEE ALSO πŸ”₯

Kernel file ./drivers/gpu/drm/amd/amdgpu/amdgpu_gart.c

the whole friend group, no cap:


Source/version: ./drivers/gpu/drm/amd/amdgpu Β· date: October 2026 β€” mwah πŸ’‹ bye bestie 🌈

πŸ“¦ where this page comes from