ing is supported or not.
V2 of Qemu patch
https://lore.kernel.org/qemu-devel/20230630070016.841459-1-jiqian.c...@amd.com/T/#t
Best regards,
Jiqian Chen.
v1:
link: https://lore.kernel.org/lkml/20230608063857.1677973-1-jiqian.c...@amd.com/
Hi all,
I am working to implement virtgpu S3 function on
a new feature flag VIRTIO_GPU_F_FREEZING, so that guest and
host can negotiate whenever freezing is supported or not.
Signed-off-by: Jiqian Chen
---
drivers/gpu/drm/virtio/virtgpu_debugfs.c | 1 +
drivers/gpu/drm/virtio/virtgpu_drv.c | 37
drivers/gpu/drm/virtio/vir
a new feature flag VIRTIO_GPU_F_FREEZE_S3, so that guest and
host can negotiate whenever freeze_S3 is supported or not.
Signed-off-by: Jiqian Chen
---
drivers/gpu/drm/virtio/virtgpu_debugfs.c | 1 +
drivers/gpu/drm/virtio/virtgpu_drv.c | 39
drivers/gpu/drm/virtio/vir
v3:
Hi all,
Thanks for Gerd Hoffmann's advice. V3 makes below changes:
* Use enum for freeze mode, so this can be extended with more
modes in the future.
* Rename functions and paratemers with "_S3" postfix.
And no functional changes.
Best regards,
Jiqian Chen.
v2:
Hi all,
ons on Qemu end is:
https://lore.kernel.org/qemu-devel/20230608025655.1674357-2-jiqian.c...@amd.com/
Best regards,
Jiqian Chen.
Jiqian Chen (1):
virtgpu: init vq during resume and notify qemu guest status
drivers/gpu/drm/virtio/virtgpu_drv.c | 32
drivers/gpu/drm
status to false to notify Qemu that guest exited suspending, and then
Qemu will keep its origin actions. As a result, the display can come
back and everything of guest can come back to the time when guest was
suspended.
Signed-off-by: Jiqian Chen
---
drivers/gpu/drm/virtio
Hi all,
I hope you’ll forgive me if this disturb you. Since it has been almost two
months since the latest patch was sent out, I didn't receive any reply, so I
rebase the latest master branch and sent it again. I am looking forward to
getting your response.
Best regards,
Jiqian Chen
v3:
H
a new feature flag VIRTIO_GPU_F_FREEZE_S3, so that guest and
host can negotiate whenever freeze_S3 is supported or not.
Signed-off-by: Jiqian Chen
---
drivers/gpu/drm/virtio/virtgpu_debugfs.c | 1 +
drivers/gpu/drm/virtio/virtgpu_drv.c | 39
drivers/gpu/drm/virtio/vir
in
restore().
The link to trace this issue:
https://gitlab.com/qemu-project/qemu/-/issues/1860
Best regards,
Jiqian Chen
v4:
Link:
no v4 of kernel patch.
V4 of Qemu patch:
https://lore.kernel.org/qemu-devel/20230720120816.8751-1-jiqian.c...@amd.com/
v3:
makes below changes:
* Use enum for free
set
freeze_mode to be FREEZE_S3, so that virtio devices can change their
reset behavior on Qemu side according to that mode.
Signed-off-by: Jiqian Chen
---
drivers/virtio/virtio.c| 13 +
drivers/virtio/virtio_pci_modern.c | 9 +
drivers/virtio/virtio_pci
initializes virtqueues. And then, Qemu and guest
can communicate normally.
Signed-off-by: Jiqian Chen
---
drivers/gpu/drm/virtio/virtgpu_drv.c | 23 +
drivers/gpu/drm/virtio/virtgpu_drv.h | 1 +
drivers/gpu/drm/virtio/virtgpu_kms.c | 30 +++-
3 files
11 matches
Mail list logo