qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] virtio-gpu-3d: fix abnormal display after a warm reboot
@ 2020-09-18 11:16 Guoqing Zhang
  2020-09-18 13:15 ` no-reply
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Guoqing Zhang @ 2020-09-18 11:16 UTC (permalink / raw)
  To: Gerd Hoffmann, Michael S . Tsirkin; +Cc: Guoqing Zhang, qemu-devel, Qi Liu

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)



^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [PATCH] virtio-gpu-3d: fix abnormal display after a warm reboot
  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
  2 siblings, 0 replies; 5+ messages in thread
From: no-reply @ 2020-09-18 13:15 UTC (permalink / raw)
  To: zhangguoqing.kernel
  Cc: qemu-devel, liuqi.16, zhangguoqing.kernel, kraxel, mst

Patchew URL: https://patchew.org/QEMU/20200918111632.37354-1-zhangguoqing.kernel@bytedance.com/



Hi,

This series seems to have some coding style problems. See output below for
more information:

N/A. Internal error while reading log file



The full log is available at
http://patchew.org/logs/20200918111632.37354-1-zhangguoqing.kernel@bytedance.com/testing.checkpatch/?type=message.
---
Email generated automatically by Patchew [https://patchew.org/].
Please send your feedback to patchew-devel@redhat.com

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] virtio-gpu-3d: fix abnormal display after a warm reboot
  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
  2 siblings, 0 replies; 5+ messages in thread
From: no-reply @ 2020-09-18 14:18 UTC (permalink / raw)
  To: zhangguoqing.kernel
  Cc: qemu-devel, liuqi.16, zhangguoqing.kernel, kraxel, mst

Patchew URL: https://patchew.org/QEMU/20200918111632.37354-1-zhangguoqing.kernel@bytedance.com/



Hi,

This series failed the docker-quick@centos7 build test. Please find the testing commands and
their output below. If you have Docker installed, you can probably reproduce it
locally.






The full log is available at
http://patchew.org/logs/20200918111632.37354-1-zhangguoqing.kernel@bytedance.com/testing.docker-quick@centos7/?type=message.
---
Email generated automatically by Patchew [https://patchew.org/].
Please send your feedback to patchew-devel@redhat.com

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] virtio-gpu-3d: fix abnormal display after a warm reboot
  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
  2020-09-29  7:27   ` Gerd Hoffmann
  2 siblings, 1 reply; 5+ messages in thread
From: Guoqing Zhang @ 2020-09-27 12:17 UTC (permalink / raw)
  To: Gerd Hoffmann, Michael S . Tsirkin; +Cc: qemu-devel, Qi Liu

[-- 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 --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] virtio-gpu-3d: fix abnormal display after a warm reboot
  2020-09-27 12:17 ` Guoqing Zhang
@ 2020-09-29  7:27   ` Gerd Hoffmann
  0 siblings, 0 replies; 5+ messages in thread
From: Gerd Hoffmann @ 2020-09-29  7:27 UTC (permalink / raw)
  To: Guoqing Zhang; +Cc: Qi Liu, qemu-devel, Michael S . Tsirkin

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



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2020-09-29  7:59 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2020-09-29  7:27   ` Gerd Hoffmann

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