[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] virtio-gpu-3d: fix abnormal display after a warm reboot
From: |
Gerd Hoffmann |
Subject: |
Re: [PATCH] virtio-gpu-3d: fix abnormal display after a warm reboot |
Date: |
Tue, 29 Sep 2020 09:27:13 +0200 |
On Sun, Sep 27, 2020 at 08:17:10PM +0800, Guoqing Zhang wrote:
> hello Gerd and Michael Michael S. Tsirkin
>
> ping
Queued up now (not much activity for vga/ui these days ...).
>
> http://patchwork.ozlabs.org/project/qemu-devel/list/?series=202680
>
> On Fri, Sep 18, 2020 at 7:16 PM Guoqing Zhang <
> zhangguoqing.kernel@bytedance.com> wrote:
>
> > When resetting virtio-gpu, virgl_renderer_reset() should be
> > called to ensure that the virglrenderer status is correct.
> >
> > Signed-off-by: Guoqing Zhang <zhangguoqing.kernel@bytedance.com>
> > Reviewed-by: Qi Liu<liuqi.16@bytedance.com>
> > ---
> > hw/display/virtio-gpu-3d.c | 2 +-
> > 1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/hw/display/virtio-gpu-3d.c b/hw/display/virtio-gpu-3d.c
> > index 96621576c2..1bd33d7aed 100644
> > --- a/hw/display/virtio-gpu-3d.c
> > +++ b/hw/display/virtio-gpu-3d.c
> > @@ -595,7 +595,7 @@ void virtio_gpu_virgl_reset(VirtIOGPU *g)
> > {
> > int i;
> >
> > - /* virgl_renderer_reset() ??? */
> > + virgl_renderer_reset();
> > for (i = 0; i < g->parent_obj.conf.max_outputs; i++) {
> > if (i != 0) {
> > dpy_gfx_replace_surface(g->parent_obj.scanout[i].con, NULL);
> > --
> > 2.24.3 (Apple Git-128)
> >
> >