qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Guoqing Zhang <zhangguoqing.kernel@bytedance.com>
To: Gerd Hoffmann <kraxel@redhat.com>,
	"Michael S . Tsirkin" <mst@redhat.com>
Cc: qemu-devel@nongnu.org, Qi Liu <liuqi.16@bytedance.com>
Subject: Re: [PATCH] virtio-gpu-3d: fix abnormal display after a warm reboot
Date: Sun, 27 Sep 2020 20:17:10 +0800	[thread overview]
Message-ID: <CAP+YVmQMQ-zk59bdR5Wz4h-2QmOygS_DGnMOYwwLstVwcdWq2g@mail.gmail.com> (raw)
In-Reply-To: <20200918111632.37354-1-zhangguoqing.kernel@bytedance.com>

[-- Attachment #1: Type: text/plain, Size: 1074 bytes --]

hello Gerd and Michael   Michael S. Tsirkin

ping

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)
>
>

[-- Attachment #2: Type: text/html, Size: 1780 bytes --]

  parent reply	other threads:[~2020-09-27 12:18 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-18 11:16 [PATCH] virtio-gpu-3d: fix abnormal display after a warm reboot Guoqing Zhang
2020-09-18 13:15 ` no-reply
2020-09-18 14:18 ` no-reply
2020-09-27 12:17 ` Guoqing Zhang [this message]
2020-09-29  7:27   ` Gerd Hoffmann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAP+YVmQMQ-zk59bdR5Wz4h-2QmOygS_DGnMOYwwLstVwcdWq2g@mail.gmail.com \
    --to=zhangguoqing.kernel@bytedance.com \
    --cc=kraxel@redhat.com \
    --cc=liuqi.16@bytedance.com \
    --cc=mst@redhat.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).