Re: [PATCH] drm/panic: Add support to scanout buffer as array of pages

2025-03-17 Thread Thomas Zimmermann
Hi Am 13.03.25 um 10:42 schrieb Jocelyn Falempe: Some drivers like virtio-gpu, don't map the scanout buffer in the kernel. Calling vmap() in a panic handler is not safe, and writing an atomic_vmap() API is more complex than expected [1]. So instead, pass the array of pages of the scanout buffer

[PATCH] drm/panic: Add support to scanout buffer as array of pages

2025-03-13 Thread Jocelyn Falempe
Some drivers like virtio-gpu, don't map the scanout buffer in the kernel. Calling vmap() in a panic handler is not safe, and writing an atomic_vmap() API is more complex than expected [1]. So instead, pass the array of pages of the scanout buffer to the panic handler, and map only one page at a tim