Re: [PATCH v12 4/9] drm/panic: Add debugfs entry to test without triggering panic.

2024-04-10 Thread Daniel Vetter
On Tue, Apr 09, 2024 at 06:30:43PM +0200, Jocelyn Falempe wrote: > Add a debugfs file, so you can test drm_panic without freezing > your machine. This is unsafe, and should be enabled only for > developer or tester. > > To display the drm_panic screen on the device 0: > echo 1 >

[PATCH v12 4/9] drm/panic: Add debugfs entry to test without triggering panic.

2024-04-09 Thread Jocelyn Falempe
Add a debugfs file, so you can test drm_panic without freezing your machine. This is unsafe, and should be enabled only for developer or tester. To display the drm_panic screen on the device 0: echo 1 > /sys/kernel/debug/dri/0/drm_panic_plane_0 v9: * Create a debugfs file for each plane in the