On 9/15/23 14:11, Huang Rui wrote:
> Venus in virglrenderer has required render server support.
>
> Signed-off-by: Huang Rui <ray.huang@amd.com>
> ---
> hw/display/virtio-gpu-virgl.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/hw/display/virtio-gpu-virgl.c b/hw/display/virtio-gpu-virgl.c
> index 39c04d730c..65ffce85a8 100644
> --- a/hw/display/virtio-gpu-virgl.c
> +++ b/hw/display/virtio-gpu-virgl.c
> @@ -888,7 +888,7 @@ int virtio_gpu_virgl_init(VirtIOGPU *g)
> #endif
>
> #ifdef VIRGL_RENDERER_VENUS
> - flags |= VIRGL_RENDERER_VENUS;
> + flags |= VIRGL_RENDERER_VENUS | VIRGL_RENDERER_RENDER_SERVER;
> #endif
>
> ret = virgl_renderer_init(g, flags, &virtio_gpu_3d_cbs);
This change should be squashed into the previous "Initialize Venus" patch.
--
Best regards,
Dmitry