[PATCH v6] drm/virtio: Add drm_panic support

2025-01-30 Thread Ryosuke Yasuoka
Virtio gpu supports the drm_panic module, which displays a message to the screen when a kernel panic occurs. Signed-off-by: Jocelyn Falempe Signed-off-by: Ryosuke Yasuoka --- v6: Based on Dmitry's comment, fix the followings - Reject external dmabufs backing the GEM object - Allocate vbuf

Re: [PATCH v5] drm/virtio: Add drm_panic support

2024-12-10 Thread Ryosuke Yasuoka
On Mon, Dec 2, 2024 at 11:30 PM Dmitry Osipenko wrote: > > On 11/29/24 15:24, Ryosuke Yasuoka wrote: > > > + } else { > > + iosys_map_set_vaddr(&sb->map[0], bo->base.vaddr); > > + } > > + > > + sb->format = plane->

[PATCH v5] drm/virtio: Add drm_panic support

2024-11-29 Thread Ryosuke Yasuoka
From: Jocelyn Falempe Virtio gpu supports the drm_panic module, which displays a message to the screen when a kernel panic occurs. Signed-off-by: Ryosuke Yasuoka Signed-off-by: Jocelyn Falempe --- v5: Based on Dmitry's comment, fix the followings - Rename virtio_panic_buffer to panic

[PATCH v4] drm/virtio: Add drm_panic support

2024-11-13 Thread Ryosuke Yasuoka
From: Jocelyn Falempe Virtio gpu supports the drm_panic module, which displays a message to the screen when a kernel panic occurs. Signed-off-by: Ryosuke Yasuoka Signed-off-by: Jocelyn Falempe --- v4: - As per Dmitry's comment, make virtio_panic_buffer private to virtio_gpu_device

[PATCH v3] drm/virtio: Add drm_panic support

2024-11-07 Thread Ryosuke Yasuoka
From: Jocelyn Falempe Virtio gpu supports the drm_panic module, which displays a message to the screen when a kernel panic occurs. Signed-off-by: Ryosuke Yasuoka Signed-off-by: Jocelyn Falempe --- v3: - As per Jocelyn's comment, add a finite timeout 500usec in virtio_gpu_panic_put_vbuf

[PATCH v2] drm/virtio: Add drm_panic support

2024-11-06 Thread Ryosuke Yasuoka
From: Jocelyn Falempe Virtio gpu supports the drm_panic module, which displays a message to the screen when a kernel panic occurs. Signed-off-by: Ryosuke Yasuoka Signed-off-by: Jocelyn Falempe --- v2: - Remove unnecessary virtio_gpu_vbuffer_inline - Remove reclaim_list and just call

[PATCH] drm/virtio: Add drm_panic support

2024-10-30 Thread Ryosuke Yasuoka
From: Jocelyn Falempe Virtio gpu supports the drm_panic module, which displays a message to the screen when a kernel panic occurs. Signed-off-by: Ryosuke Yasuoka Signed-off-by: Jocelyn Falempe --- drivers/gpu/drm/virtio/virtgpu_drv.h | 28 + drivers/gpu/drm/virtio/virtgpu_plane.c

[PATCH v4] drm/qxl: Add drm_panic support

2024-09-22 Thread Ryosuke Yasuoka
QXL supports the drm_panic module, which displays a message to the screen when a kernel panic occurs. Signed-off-by: Ryosuke Yasuoka --- v4 1. Remove unnecessary () and empty lines 2. Remove unlikely() from qxl_panic_bo_create(). This function is only called in panic handler and it does not need

[PATCH v3] drm/qxl: Add drm_panic support

2024-09-20 Thread Ryosuke Yasuoka
QXL supports the drm_panic module, which displays a message to the screen when a kernel panic occurs. Signed-off-by: Ryosuke Yasuoka --- v3 Adjust function's arguments indentation. Discussion v2 patch is in [2] [2] https://lore.kernel.org/lkml/20240919071230.840994-1-ryasu...@redhat.com/T

[PATCH v2] drm/qxl: Add drm_panic support

2024-09-19 Thread Ryosuke Yasuoka
QXL supports the drm_panic module, which displays a message to the screen when a kernel panic occurs. Signed-off-by: Ryosuke Yasuoka --- v2 In [1], Jocelyn gives me feedbacks and fix them. 1. Removing qxl_surface_evict(): It takes a mutex and it possibly causes deadlock in panic handler. As the

[PATCH] drm/qxl: Add drm_panic support

2024-09-12 Thread Ryosuke Yasuoka
QXL supports the drm_panic module, which displays a message to the screen when a kernel panic occurs. Signed-off-by: Ryosuke Yasuoka --- Sorry for sending similar mails again and again. Please ignore the following my mails. Let me add dri-devel mailing list and Jocelyn who developped a drm_panic