News: 0001495862

  ARM Give a man a fire and he's warm for a day, but set fire to him and he's warm for the rest of his life (Terry Pratchett, Jingo)

Red Hat Engineer Working On DRM Panic Support For AMDGPU Driver

([Radeon] 5 Hours Ago DRM Panic)


Red Hat engineer Jocelyn Falempe has been working to sort out DRM Panic support for the AMDGPU driver. The DRM Panic infrastructure is useful since it's what allows [1]presenting a panic screen, a.k.a. a "Blue Screen of Death" type experience when running into major kernel problems. With Linux 6.12 there's now [2]the ability to show QR codes for error messages with DRM Panic .

DRM Panic requires driver integration and so far has mostly been supported by the smaller, embedded Direct Rendering Manager (DRM) drivers. There's also been [3]Nouveau support and other enablement work ongoing. Jocelyn Falempe is helping with the AMDGPU integration.

In [4]a new patch adding AMDGPU DCN30 DRM_Panic integration, Jocelyn explained:

"Add support for the drm_panic module, which displays a pretty user friendly message on the screen when a Linux kernel panic occurs.

It should work on all readeon using amdgpu_dm_plane.c, when the framebuffer is linear (like when in a VT). For tiled framebuffer, it

will only work on radeon with dcn30. It should be easy to add support for dcn20 or dcn31, but I can't test it. I've tested it on a Radeon W6400 pro."

Hopefully other developers/testers will be able to get the DRM_Panic code working on the other DCN IP versions soon. The DCN30 patch is now under review.



[1] https://www.phoronix.com/news/Linux-6.10-DRM-Panic-Handler

[2] https://www.phoronix.com/news/Linux-6.12-DRM-Graphics

[3] https://www.phoronix.com/news/Nouveau-DRM-Panic-Patches

[4] https://lore.kernel.org/dri-devel/20241004090850.460668-1-jfalempe@redhat.com/T/#u



mxan

klara

remenic

kpedersen

"One day I woke up and discovered that I was in love with tripe."
-- Tom Anderson