Red Hat Engineer Working On DRM Panic Support For AMDGPU Driver
([Radeon] 5 Hours Ago
DRM Panic)
- Reference: 0001495862
- News link: https://www.phoronix.com/news/AMDGPU-DRM-Panic-Patch
- Source link:
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
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