amdgpu_vmid_had_gpu_reset(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ 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 β€” an amdgpu_device pointer. 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:


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