gmc_v7_0_set_prt(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 β€” an amdgpu_device pointer, aka the whole GPU situation. it's a pointer, so you know the deal, handle with care πŸ’€
  • enable β€” a bool that 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 🌈

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