qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v6 02/11] virtio-gpu: Configure new feature flag context_crea


From: Antonio Caggiano
Subject: Re: [PATCH v6 02/11] virtio-gpu: Configure new feature flag context_create_with_flags for virglrenderer
Date: Tue, 19 Dec 2023 10:09:27 +0100
User-agent: Mozilla Thunderbird

Hi Huang Rui,

Thank you for this new version.

All patches which I did not sign off are reviewed by me :)

Cheers,
Antonio Caggiano

On 19/12/2023 08:53, Huang Rui wrote:
Configure a new feature flag (context_create_with_flags) for
virglrenderer.

Originally-by: Antonio Caggiano <antonio.caggiano@collabora.com>
Signed-off-by: Huang Rui <ray.huang@amd.com>
---

Changes in v6:
- Move macros configurations under virgl.found() and rename
   HAVE_VIRGL_CONTEXT_CREATE_WITH_FLAGS.

  meson.build | 4 ++++
  1 file changed, 4 insertions(+)

diff --git a/meson.build b/meson.build
index ec01f8b138..ea52ef1b9c 100644
--- a/meson.build
+++ b/meson.build
@@ -1050,6 +1050,10 @@ if not get_option('virglrenderer').auto() or have_system 
or have_vhost_user_gpu
                           cc.has_member('struct 
virgl_renderer_resource_info_ext', 'd3d_tex2d',
                                         prefix: '#include <virglrenderer.h>',
                                         dependencies: virgl))
+    config_host_data.set('HAVE_VIRGL_CONTEXT_CREATE_WITH_FLAGS',
+                         
cc.has_function('virgl_renderer_context_create_with_flags',
+                                         prefix: '#include <virglrenderer.h>',
+                                         dependencies: virgl))
    endif
  endif
  rutabaga = not_found



reply via email to

[Prev in Thread] Current Thread [Next in Thread]