gmc_v7_0_set_prt(9)
π gmc_v7_0_set_prt(9) β Kernel API Manual, bestie edition π
okay so this is a page straight out of the Kernel API Manual and it's literally about gmc_v7_0_set_prt β yes that's the whole name, don't come for me π it's giving "someone's very specific GPU helper function" and honestly? iconic.
β¨ NAME β¨
gmc_v7_0_set_prt β set PRT VM fault. that's it, that's the vibe. short, sweet, to the point π«Ά
πΈ SYNOPSIS πΈ
void gmc_v7_0_set_prt (struct amdgpu_device *adev , bool enable );
like look at her. returns void, takes two args, zero drama. main character energy fr fr π
π¦ ARGUMENTS π¦
adevβ anamdgpu_devicepointer, aka the whole GPU situation. it's a pointer, so you know the deal, handle with care πenableβ aboolthat turns VM fault handling for PRT on or off. like a light switch but for faults. enable/disable, that's the entire job β¨
π SEE ALSO π
- Kernel file
./drivers/gpu/drm/amd/amdgpu/gmc_v7_0.cβ go read the source, iykyk π gmc_v7_0_init_microcode(9)gmc_v7_0_mc_load_microcode(9)gmc_v7_0_mc_program(9)gmc_v7_0_mc_init(9)gmc_v7_0_flush_gpu_tlb_pasid(9)gmc_v7_0_flush_gpu_tlb(9)gmc_v7_0_set_fault_enable_default(9)gmc_v7_0_gart_enable(9)gmc_v7_0_gart_disable(9)gmc_v7_0_vm_decode_fault(9)
like a whole friend group of gmc_v7_0_* functions and this one is 100% part of the group chat π
ngl there's no extra lore here β no env vars, no exit statuses, no warnings, no bugs section. just a tiny tidy function doing its little PRT VM fault thing. slay πΈ
and that's the page!! brought to you by ./drivers/gpu/drm/amd/amdgpu, dated October 2026 π mwah, go touch some GPU registers responsibly 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