amdgpu_gmc_...aults_remove(9)
π amdgpu_gmc_filter_faults_remove(9) β the Kernel API Manual, but make it make sense β¨
okay so bestie, we're in the Kernel API Manual today and this little icon is a function that un-filters a fault address. yes it's giving cleanup crew energy and honestly? iconic. let's get into it π«Ά
β¨ NAME β¨
amdgpu_gmc_filter_faults_remove β literally just removes an address from the VM faults filter π
that's the whole job, no cap
π¦ SYNOPSIS π¦
void amdgpu_gmc_filter_faults_remove (struct amdgpu_device *adev ,
uint64_t addr , uint16_t pasid );
returns nothing (void, she's humble like that), takes three things. periodt.
π ARGUMENTS π
adevβ the amdgpu device structure. it's the main character here, everything routes through her πaddrβ address of the VM fault. the actual spot we're talking about πpasidβ PASID of the process causing the fault. yep, we're snitching on a specific process, iykyk π
πΈ DESCRIPTION πΈ
Remove the address from fault filter, then future vm fault on this address will pass to retry fault handler to recover.
that's it, that's the vibe π she pulls the address out of the filter, and from then on any future VM fault on that same address gets to pass through to the retry fault handler so it can recover. lowkey a glow-up arc for that address, fr fr β¨
β SEE ALSO β
the source lives in the kernel file ./drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c β go read it, she ate π₯
and here's the whole friend group, all present, none skipped π«Ά:
amdgpu_gmc_pdb0_alloc(9)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_tmz_set(9)amdgpu_gmc_noretry_set(9)amdgpu_gmc_init_pdb0(9)amdgpu_gmc_vram_mc2pa(9)amdgpu_gmc_vram_pa(9)
that's the whole page bestie, you understood it, slay π§π
cute little sign-off: this one comes from ./drivers/gpu/drm/amd/amdgpu, dated October 2026 β so like, future-coded of her honestly π¦ 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