ENUM AMD_RESET_METHOD(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 to MODE1. 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