[PATCH 0/5] drm/nouveau: Add drm_panic support for nv50+
Jocelyn Falempe
jfalempe at redhat.com
Thu May 23 13:00:33 UTC 2024
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,
--
Jocelyn
Jocelyn Falempe (5):
drm/panic: Add ABGR2101010 support
drm/panic: only draw the foreground color in drm_panic_blit()
drm/panic: Add a set_pixel() callback to drm_scanout_buffer
drm/panic: add a private pointer to drm_scanout_buffer
drm/nouveau: Add drm_panic support for nv50+
drivers/gpu/drm/drm_panic.c | 183 ++++++++++++++----------
drivers/gpu/drm/nouveau/dispnv50/wndw.c | 127 +++++++++++++++-
include/drm/drm_panic.h | 15 ++
3 files changed, 247 insertions(+), 78 deletions(-)
base-commit: 484436ec5c2bffe8f346a09ae1cbc4cbf5e50005
--
2.45.0
More information about the dri-devel
mailing list