[RFC PATCH 0/2] Virtio-GPU suspend and resume
Dmitry Osipenko
dmitry.osipenko at collabora.com
Mon May 5 16:02:48 UTC 2025
On 4/19/25 02:29, dongwon.kim at intel.com wrote:
> From: Dongwon Kim <dongwon.kim at intel.com>
>
> This patch series introduces a freeze and restore mechanism for
> the virtio-gpu driver:
>
> First patch adds `virtgpu_freeze` and `virtgpu_restore` functions.
> These functions handle the deletion of virtio queues before suspension and
> their recreation during the restoration process.
>
> Second patch implements a mechanism for restoring `virtio_gpu_object` instances.
> This is necessary because the host (QEMU) deletes all associated resources during
> the virtio-gpu reset, which occurs as part of the restoration process.
>
> These changes ensure that the virtio-gpu driver can properly handle suspend and
> resume scenarios without resource loss.
>
> Dongwon Kim (2):
> drm/virtio: Freeze and restore hooks to support suspend and resume
> drm/virtio: Implement save and restore for virtio_gpu_objects
>
> drivers/gpu/drm/virtio/virtgpu_drv.c | 59 +++++++++++++++++++++-
> drivers/gpu/drm/virtio/virtgpu_drv.h | 11 +++++
> drivers/gpu/drm/virtio/virtgpu_kms.c | 24 ++++++---
> drivers/gpu/drm/virtio/virtgpu_object.c | 65 +++++++++++++++++++++++++
> 4 files changed, 152 insertions(+), 7 deletions(-)
Hi,
Something is wrong with your git send-mail setup, it's not first time
your patches have an empty list of mail recipients. Please fix. No need
to resend patches, I'll review them on the ML.
--
Best regards,
Dmitry
More information about the dri-devel
mailing list