From 0b4d54360f1b4ad59d14b2d94924e03e2f3ed09d Mon Sep 17 00:00:00 2001 From: Leo Liu Date: Mon, 5 Sep 2022 20:02:41 -0400 Subject: [PATCH] meson: add with_gallium_virgl to allow it as VA backend driver So that no longer needs other driver such as radeonsi as backend to enable VA. Signed-off-by: Leo Liu Reviewed-by: Eric Engestrom Part-of: --- meson.build | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meson.build b/meson.build index 1f310a24537..205421affa7 100644 --- a/meson.build +++ b/meson.build @@ -824,9 +824,9 @@ if not system_has_kms_drm else _va = 'disabled' endif -elif not (with_gallium_r600 or with_gallium_radeonsi or with_gallium_nouveau or with_gallium_d3d12_video) +elif not (with_gallium_r600 or with_gallium_radeonsi or with_gallium_nouveau or with_gallium_d3d12_video or with_gallium_virgl) if _va == 'enabled' - error('VA state tracker requires at least one of the following gallium drivers: r600, radeonsi, nouveau, d3d12 (with option gallium-d3d12-video).') + error('VA state tracker requires at least one of the following gallium drivers: r600, radeonsi, nouveau, d3d12 (with option gallium-d3d12-video), virgl.') else _va = 'disabled' endif