gmc_v8_0_set_prt(9)
β¨ gmc_v8_0_set_prt β set PRT VM fault β¨
okay bestie, so this is a kernel API manual page for gmc_v8_0_set_prt(9) (that's the manual name, iykyk β it's from the Kernel API Manual π
) and honestly it's a tiny little function but she's doing Important Work. let's get into it π«Ά
πΈ SYNOPSIS πΈ
void gmc_v8_0_set_prt (struct amdgpu_device *adev , bool enable );
like, that's the whole vibe. one function, two args, zero drama. no cap. β¨
π ARGUMENTS π
adevβ anamdgpu_devicepointer. that's your amdgpu device right there, being pointed at. iconic behavior honestly π¦enableβ aboolthat turns VM fault handling for PRT on or off. so basically: enable/disable VM fault handling for PRT. yes that's what it does, we love a self-explanatory king π
π SEE ALSO π
okay so here's the whole friend group, the Kernel file ./drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c and all her siblings β go say hi, they're all literally so relevant:
gmc_v8_0_init_microcode(9)gmc_v8_0_tonga_mc_load_microcode(9)gmc_v8_0_mc_program(9)gmc_v8_0_mc_init(9)gmc_v8_0_flush_gpu_tlb_pasid(9)gmc_v8_0_flush_gpu_tlb(9)gmc_v8_0_set_fault_enable_default(9)gmc_v8_0_gart_enable(9)gmc_v8_0_gart_disable(9)gmc_v8_0_vm_decode_fault(9)
fr fr, that's the entire guest list. no gatekeeping here π§
bestie reminder: this page lives under ./drivers/gpu/drm/amd/amdgpu and it's dated October 2026 in the Kernel API Manual. that's the whole footer, and yeah we're mentioning it because it's part of the lore ππ
and that's the page!! short, sweet, absolutely ate, no crumbs left. mwah π ππΈ
π¦ 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