Re: [PATCH v10 2/2] virtio-pci: implement No_Soft_Reset bit

2024-06-03 Thread Chen, Jiqian
On 2024/6/2 22:33, Michael S. Tsirkin wrote: > On Wed, May 15, 2024 at 03:35:26PM +0800, Jiqian Chen wrote: >> In current code, when guest does S3, virtio-gpu are reset due to the >> bit No_Soft_Reset is not set. After resetting, the display resources >> of virtio-gpu are destroyed, then the displa

Re: [PATCH v10 2/2] virtio-pci: implement No_Soft_Reset bit

2024-06-02 Thread Michael S. Tsirkin
On Wed, May 15, 2024 at 03:35:26PM +0800, Jiqian Chen wrote: > In current code, when guest does S3, virtio-gpu are reset due to the > bit No_Soft_Reset is not set. After resetting, the display resources > of virtio-gpu are destroyed, then the display can't come back and only > show blank after resu

[PATCH v10 2/2] virtio-pci: implement No_Soft_Reset bit

2024-05-15 Thread Jiqian Chen
In current code, when guest does S3, virtio-gpu are reset due to the bit No_Soft_Reset is not set. After resetting, the display resources of virtio-gpu are destroyed, then the display can't come back and only show blank after resuming. Implement No_Soft_Reset bit of PCI_PM_CTRL register, then gues