RFC drm/virtio:virtio-gpu driver freeze-and-restore implementation
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest2 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | drm/virtio: freeze and restore hooks to support suspend and resumedrivers/ drivers/ drivers/ | +69 | 0 replies | |
| 2/2 | drm/virtio: restore virtio_gpu_objects upon suspend and resumedrivers/ drivers/ drivers/ +1 more | +110 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [RFC PATCH 0/2] drm/virtio:virtio-gpu driver freeze-and-restore implementation
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(-)
Signature · 1 line
2.20.1