AMD Linux Graphics Driver Working To Clear Out All Of Its BUG()s - Phoronix
Articles & Reviews
News Archive
Forums
Premium Ad-Free<br>Contact
Popular Categories
Close
Articles & Reviews
News Archive
Forums
Premium
Contact
Categories
Computers Display Drivers Graphics Cards Linux Gaming Memory Motherboards Processors Software Storage Operating Systems Peripherals
AMD Linux Graphics Driver Working To Clear Out All Of Its BUG()s
Written by Michael Larabel in Radeon on 7 July 2026 at 04:53 PM EDT. 27 Comments
AMDGPU kernel driver maintainer Alex Deucher of AMD sent out a set of 30 patches today working on clearing out all of the BUG() usage within this Linux kernel graphics driver.
The Linux BUG() macro is used as a crash mechanism when encountering unrecoverable conditions. Calling BUG() results in a halt of execution and dumping of important debug information. But calling BUG() can lead to a full kernel panic and can also be used by attackers for nefarious purposes like trying to cause a denial of service.
Deucher has been going through the AMDGPU BUG() calls to change code when the driver has no reason to purposefully crash the running kernel and could be recovered. In some cases where BUG() was called they can be just reduced to warnings or in other cases just emitting errors but where the driver can safely continue operation.
So with this 30 patch series much of the AMDGPU driver's existing BUG() usage is safely adapted to avoid it. For those triggering specific issues with the AMDGPU driver, it will ideally allow the system to continue on running rather than intentionally crashing/halting the system with BUG() usage.
The BUG() clean-up is out for review today on the AMD graphics mailing list.
27 Comments
Tweet
Marek Olšák At Valve Lands RADV Code That Can "Double Performance" With Some VRS Cases<br>RADV & RadeonSI Drivers See New Fixes For AMD GCN 1.0/1.1 GPUs<br>RADV Enables Vulkan Descriptor Heap Support By Default<br>New AMD Linux Patches Expose Gamma 2.4 + Gamma 2.6 Curves<br>Open-Source Driver For ATI R300 Era GPUs Seeing Improved Power Mac Support In 2026<br>AMD Updates ROCDXG To Deliver Better ROCm Experience On WSL
Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.
ReactOS "Open-Source Windows" Project Now Capable Of Running Half-Life 2<br>Rust Coreutils cp Ended Up Breaking Ubuntu Image Builds With Latest Incompatibility<br>Linux Kernel Developers Again Discussing AI Agent Attribution - Potentially Dropping It<br>ReactOS Implements First Windows NT6 System Call In Step Toward Vista Compatibility<br>Vibe Coded X11 Server Written In Rust Adds Xinerama, FreeBSD Support & Other Features<br>4K @ 60 FPS USB Video Capture Finally Becomes Less Problematic On Linux<br>Fedora 45 Considering x86_64 Shadow Stack Usage By Default<br>Linux DRM Scheduler Patches Yield Massive Improvement For Job Submission Latency
Wayland 1.26 RC1 Released With New Event To Help Ensure Correct Pointer Coordinates
Proposed Linux Patch For A Brief Delay To Match PCI Spec Will Hopefully Address Some Bugs
Linux Prepares For New USB-C Security Feature On Lenovo ThinkPads
Initial Patches Posted For Booting The Apple M4 On Linux
AMD Ryzen AI Halo Box RGB LED Driver Inches Closer To The Mainline Kernel
Redox OS Gets GTK3 Backend For Orbital Desktop, Fractional Scaling & USB Gamepads
OpenMandriva GitHub Disrupted & Nefarious Package Push In Sabotage Attempt
Intel Sunsets Quantum Intrinsics & Other Open-Source Projects This Week
Wayland No Longer Considered Experimental For Linux Mint's Next Cinnamon Release
Phoronix Premium Summer Sale To Help Support Linux Hardware Testing
Phoronix Premium allows ad-free access to the site, multi-page articles on a single page, and other features while supporting this site's continued operations.
Graviton5 CPU Benchmarks: 30% Geo Mean Improvement Over Graviton4
Single vs. Dual Channel Memory Performance With The Intel Core Ultra 7 270K Plus
Razer Certifying Their First Laptop For Linux: Razer Blade 18 RZ09-0582
Ryzen AI Developer Platform: AMD's Own Linux Distribution Built Atop Debian
AMD Ryzen AI Halo Is An Excellent & Powerful Mini PC With Fully Open-Source Software
The mission at Phoronix since 2004 has centered around enriching the Linux hardware experience. In addition to supporting our site through advertisements, you can help by subscribing to Phoronix Premium. You can also contribute to Phoronix through tips/donations via PayPal or Stripe.
Contact
Michael Larabel
Support Phoronix
While Having Ad-Free Browsing,
Single-Page Article...