vi_asic_pci_config_reset(9)
π vi_asic_pci_config_reset β like, the whole vibe β¨
okay so bestie, we're in the Kernel API Manual today and honestly? this one's a little baddie. it's a kernel function, it resets a GPU, and it's lowkey the softest way to do it. let's get into it π«Ά
πΈ NAME πΈ
vi_asic_pci_config_reset β soft reset GPU π
like, soft reset. not a dramatic hard reset. she's gentle. she's iconic. she's doing the absolute most with the PCI config method and we stan.
β¨ SYNOPSIS β¨
int vi_asic_pci_config_reset (struct amdgpu_device *adev );
that's it. that's the whole signature. one arg, returns an int, and yes there's a space before the closing paren in the original and we're keeping it exactly as-is because we don't edit the source, bestie, that's not the vibe π
π ARGUMENTS π
adevβ anamdgpu_devicepointer. that's your GPU's whole little passport, fr fr. you hand her over and she gets the soft reset treatment π
π₯ DESCRIPTION π₯
so the way this works is: it uses the PCI Config method to reset the GPU. no cap, that's the whole move.
and then it returns 0 for success. that's it. 0 means we ate and left no crumbs. β
ok real talk β the manpage is short and the manpage is honest. don't go reading extra behaviour into it that isn't there. it resets via PCI config, returns 0 on success, and that's the entire lore π
π¦ SEE ALSO π¦
- Kernel file
./drivers/gpu/drm/amd/amdgpu/vi.cβ the whole source file, go read her π vi_get_xclk(9)vi_srbm_select(9)vi_asic_reset(9)β the sibling reset, iykyk
and that's the page!! this lil gem lives under ./drivers/gpu/drm/amd/amdgpu and it's dated October 2026 β yes, October 2026, she's from the future, main character energy fr fr πβ¨π go forth and soft-reset 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