This series is for adding virtio-gpu driver the support for the suspend and 
resume
(or freeze and restore).

First patch adds virtio-dev hooks that adds .freeze and .restore hooks that 
basically
flush and remove virtqueue before going into suspension then reinitialize them 
upon
wake-up event.

Second patch is the implementation of virtio-gpu resource restoration machanism 
that
is needed for the synchronization of resources between the host and the guest 
when
suspend(and hibernation) and resume happens.

Dongwon Kim (2):
  drm/virtio: freeze and restore hooks to support suspend and resume
  drm/virtio: restore virtio_gpu_objects upon suspend and resume

 drivers/gpu/drm/virtio/virtgpu_drv.c    |  59 +++++++++++-
 drivers/gpu/drm/virtio/virtgpu_drv.h    |  11 +++
 drivers/gpu/drm/virtio/virtgpu_kms.c    |  23 +++--
 drivers/gpu/drm/virtio/virtgpu_object.c | 122 ++++++++++++++++++------
 4 files changed, 179 insertions(+), 36 deletions(-)

-- 
2.20.1

Reply via email to