amdgpu_gmc_pdb0_alloc(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ NAME πŸŽ€ β€” amdgpu_gmc_pdb0_alloc(9)

okay bestie, welcome to the Kernel API Manual page for amdgpu_gmc_pdb0_alloc(9) πŸ’– lowkey its whole personality is: allocate vram for pdb0. that’s the vibe. ✨


πŸ¦‹ SYNOPSIS πŸ¦‹

int amdgpu_gmc_pdb0_alloc (struct amdgpu_device *adev );

πŸ’… ARGUMENTS πŸ’…

  • adev β€” an amdgpu_device pointer. yes bestie, that’s the whole argument 🫢

🌸 DESCRIPTION 🌸

Allocate video memory for pdb0 and map it for CPU access. that’s the main-character job fr fr πŸ’–

It returns 0 for success, and an error for failure. so like, check the return value, bestie 😭✨


πŸ‘‘ SEE ALSO πŸ‘‘

Kernel file: ./drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c

also pls go stare at these iconic siblings in the same amdgpu_gmc family 🌈:

amdgpu_gmc_get_pde_for_bo(9), amdgpu_gmc_set_pte_pde(9), amdgpu_gmc_agp_addr(9), amdgpu_gmc_vram_location(9), amdgpu_gmc_gart_location(9), amdgpu_gmc_agp_location(9), amdgpu_gmc_set_agp_default(9), amdgpu_gmc_fault_key(9), amdgpu_gmc_filter_faults(9), amdgpu_gmc_filter_faults_remove(9), amdgpu_gmc_tmz_set(9), amdgpu_gmc_noretry_set(9), amdgpu_gmc_init_pdb0(9), amdgpu_gmc_vram_mc2pa(9), amdgpu_gmc_vram_pa(9)


kisses πŸ’‹ this page is from the Kernel API Manual, source/version: ./drivers/gpu/drm/amd/amdgpu, date: October 2026, and the manual is amdgpu_gmc_pdb0_alloc(9). bye bestie πŸ«ΆπŸ’œ

πŸ“¦ where this page comes from