virtio-gpu-3d: fix abnormal display after a warm reboot
authorGuoqing Zhang <zhangguoqing.kernel@bytedance.com>
Fri, 18 Sep 2020 11:16:32 +0000 (19:16 +0800)
committerGerd Hoffmann <kraxel@redhat.com>
Tue, 29 Sep 2020 08:08:25 +0000 (10:08 +0200)
commit3745d59ee489bccdab8f678a0f7972e7dbe189f9
treee56a9fa5c8142bf0a910a871c7cf33a27a8eaf06
parent74504514b154ebebdff577d88e4bf5c13074e9ed
virtio-gpu-3d: fix abnormal display after a warm reboot

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>
Message-id: 20200918111632.37354-1-zhangguoqing.kernel@bytedance.com
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
hw/display/virtio-gpu-3d.c