ENUM AMD_RESET_METHOD(9)
π enum amd_reset_method
okay so bestie, gather round, because this is literally the whole kernel API man page for enum amd_reset_method β aka the glow-up menu for "how do we un-flop an AMD GPU." It lives in the Kernel API Manual, and yes, it's giving main character energy in the reset department. π«Ά
β¨ NAME β¨
enum amd_reset_method β the methods for resetting AMD GPU devices, periodt.
πΈ SYNOPSIS πΈ
enum amd_reset_method {
AMD_RESET_METHOD_NONE ,
AMD_RESET_METHOD_LEGACY ,
AMD_RESET_METHOD_MODE0 ,
AMD_RESET_METHOD_MODE1 ,
AMD_RESET_METHOD_MODE2 ,
AMD_RESET_METHOD_LINK ,
AMD_RESET_METHOD_BACO ,
AMD_RESET_METHOD_PCI ,
AMD_RESET_METHOD_ON_INIT
};
π Constants π
okay so here's the whole lineup, one icon at a time π
AMD_RESET_METHOD_NONEβ literally does nothing. the device will not be reset. it's the "i'm not getting involved" of reset methods πAMD_RESET_METHOD_LEGACYβ a method that's reserved for SI, CIK and VI ASICs. vintage behavior, iykyk π¦AMD_RESET_METHOD_MODE0β resets the entire ASIC. the whole thing. all of it. but heads up: it's not currently available for any device. iconic concept, doesn't actually ship πAMD_RESET_METHOD_MODE1β resets all IP blocks on the ASIC individually (SDMA, GFX, VCN, etc.). suitable only for some discrete GPUs, and it's not available for all ASICs. a little picky, honestly πAMD_RESET_METHOD_MODE2β resets a lesser level of IPs compared toMODE1. which IPs actually get reset depends on the ASIC. notably, it doesn't reset IPs shared with the CPU on APUs, and it doesn't reset the memory controllers (so your VRAM is safe, we love that for you π). also not available on all ASICs.AMD_RESET_METHOD_LINKβ triggers a SW-UP link reset on the other GPUs. networking but make it GPU besties πͺ½AMD_RESET_METHOD_BACOβ BACO stands for Bus Alive, Chip Off, and the plot is: it powers the card off and back on, but without powering off the PCI bus. suitable only for discrete GPUs. the bus stays alive, the chip goes to sleep, it's giving introvert energy π΄AMD_RESET_METHOD_PCIβ does a full bus reset using the core Linux subsystem PCI reset, and does a secondary bus reset or an FLR, depending on what the underlying hardware actually supports. hardware-dependent queen πAMD_RESET_METHOD_ON_INITβ does a device reset right there during the driver init sequence. first day on the job and it's already resetting things π€
π Description π
these are the methods available to the AMD GPU driver for resetting the device, fr fr.
not all methods are suitable for every device β so please don't just pick one because the name ate. π
the user can override the method using the module parameter reset_method. you have the power, use it wisely β¨
π¦ SEE ALSO π¦
- Kernel file
./drivers/gpu/drm/amd/amdgpu/amdgpu_reset.h
lowkey reminder that the vibes are cute but the hardware isn't β pick a reset method your ASIC actually supports π
and that's the page, bestie π written out of ./drivers/gpu/drm/amd/amdgpu, dated October 2026 β go forth and reset responsibly πβ¨
π¦ 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