[PATCH v3] drm/virtio: Add drm_panic support
Dmitry Osipenko
dmitry.osipenko at collabora.com
Mon Nov 11 12:18:11 UTC 2024
On 11/8/24 06:26, Ryosuke Yasuoka wrote:
> +struct virtio_gpu_panic_object_array {
> + struct ww_acquire_ctx ticket;
> + struct list_head next;
> + u32 nents, total;
> + struct drm_gem_object *objs;
> +};
> +
> +static void *virtio_panic_buffer;
This won't work well if there is more than one virtio-gpu device in the
system. Please make it private to the virtio-gpu dev.
Otherwise looks okay. I've tested v3 on QEMU, panic screen works.
Looking forward to v4, thanks.
--
Best regards,
Dmitry
More information about the dri-devel
mailing list