amdgpu_vmid_had_gpu_reset(9)
β¨ NAME β¨
amdgpu_vmid_had_gpu_reset β check if reset occured since last use π
okay so real talk, this whole page lives under the Kernel API Manual umbrella, and it's the tiniest little vibe check in the AMDGPU world. Let's get into it π«Ά
πΈ SYNOPSIS πΈ
bool amdgpu_vmid_had_gpu_reset (struct amdgpu_device *adev , struct
amdgpu_vmid *id );
literally just one function, returns a bool, takes two pointers, in and out, no cap β¨
π ARGUMENTS π
adevβ anamdgpu_devicepointer. it's the big one, your whole device situation πidβ the VMID structure. yes queen, that's the one we're checking up on π¦
π₯ DESCRIPTION π₯
So what does it actually do? It checks if a GPU reset occured since the last time this VMID was used. That's it. That's the whole plot π
the way that one bool is doing all the emotional labor here β iconic honestly. You hand it your device (adev) and your VMID (id), and it tells you whether a reset happened in the meantime. vibe check: passed or not, bestie π
π SEE ALSO π
First up, the kernel file this bad boy calls home β go read the source, iykyk:
./drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c
and then the whole friend group, fr fr β go say hi to all of them:
amdgpu_pasid_alloc(9)amdgpu_pasid_free(9)amdgpu_pasid_clear_owner(9)amdgpu_pasid_lock(9)amdgpu_pasid_unlock(9)amdgpu_pasid_get_fpriv_locked(9)amdgpu_pasid_free_delayed(9)amdgpu_vmid_grab_idle(9)amdgpu_vmid_grab_reserved(9)amdgpu_vmid_grab_used(9)amdgpu_vmid_grab(9)amdgpu_vmid_reset(9)amdgpu_vmid_reset_all(9)amdgpu_vmid_mgr_init(9)amdgpu_vmid_mgr_fini(9)amdgpu_pasid_mgr_cleanup(9)
and that's the page, bestie π§π it comes to you from ./drivers/gpu/drm/amd/amdgpu, dated October 2026, and it's filed under amdgpu_vmid_had_gpu_reset(9) β slay, go read the source, ily, bye πβ
π¦ 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