gmc_v9_0_mc_init(9)
NAME π
gmc_v9_0_mc_init(9) β okay bestie, welcome to the gmc_v9_0_mc_init(9) page in the Kernel API Manual. This function is literally here to initialize the memory controller driver params. π«Ά
SYNOPSIS π
int gmc_v9_0_mc_init (struct amdgpu_device *adev );
ARGUMENTS πΈ
adevβ anamdgpu_devicepointer. Thatβs the whole argument, and itβs iconic. π
DESCRIPTION β¨
So what this function does is look up the amount of vram, look up the vram width, and then decide how to place vram and gart within the GPUβs physical address space. Returns 0 for success β slay, no cap. π₯
SEE ALSO π¦
- Kernel file
./drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c gmc_v9_0_use_invalidate_semaphore(9)gmc_v9_0_flush_gpu_tlb(9)gmc_v9_0_flush_gpu_tlb_pasid(9)gmc_v9_0_save_registers(9)gmc_v9_0_restore_registers(9)gmc_v9_0_gart_enable(9)gmc_v9_0_gart_disable(9)
okay bye bestie π β source/version: ./drivers/gpu/drm/amd/amdgpu, date: October 2026 β¨
π¦ 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