amdgpu_gmc_pdb0_alloc(9)
π 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β anamdgpu_devicepointer. 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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms