mbox series

[0/5] drm/nouveau: Add drm_panic support for nv50+

Message ID 20240523130955.428233-1-jfalempe@redhat.com (mailing list archive)
Headers show
Series drm/nouveau: Add drm_panic support for nv50+ | expand

Message

Jocelyn Falempe May 23, 2024, 1 p.m. UTC
This series adds basic drm_panic support for nouveau.
Patches 1-4 Add missing bits in drm_panic (ABGR2101010, set_pixel() for tiling, ...)
Patch 5 registers nouveau to drm_panic, and handle tiling.
I've tested on a GTX1650, while running Gnome/Wayland desktop.

I didn't find documentation about nVidia tiling, so it may not
work on other GPU than GTX1650.

To test it, you need to build your kernel with CONFIG_DRM_PANIC=y, and run

echo c > /proc/sysrq-trigger

or you can enable CONFIG_DRM_PANIC_DEBUG and run

echo 1 > /sys/kernel/debug/dri/0/drm_panic_plane_0

Best regards,