Re: [QEMU PATCH v5 13/13] virtio-gpu: Enable virglrenderer render server flag for venus

2023-10-10 Thread Dmitry Osipenko
On 9/15/23 14:11, Huang Rui wrote:
> Venus in virglrenderer has required render server support.
> 
> Signed-off-by: Huang Rui 
> ---
>  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




[QEMU PATCH v5 13/13] virtio-gpu: Enable virglrenderer render server flag for venus

2023-09-15 Thread Huang Rui
Venus in virglrenderer has required render server support.

Signed-off-by: Huang Rui 
---
 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);
-- 
2.34.1