From 67b196292831d5ad1d7e03c86e176c8007dae9b9 Mon Sep 17 00:00:00 2001 From: Chia-I Wu Date: Fri, 17 Jul 2020 21:38:58 -0700 Subject: [PATCH] vtest: enable protocol v3 support Signed-off-by: Chia-I Wu Reviewed-by: Ryan Neph Reviewed-by: Gert Wollny --- vtest/vtest_protocol.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/vtest/vtest_protocol.h b/vtest/vtest_protocol.h index 1bbeba2..f31b8e4 100644 --- a/vtest/vtest_protocol.h +++ b/vtest/vtest_protocol.h @@ -26,7 +26,12 @@ #define VTEST_PROTOCOL #define VTEST_DEFAULT_SOCKET_NAME "/tmp/.virgl_test" + +#ifdef VIRGL_RENDERER_UNSTABLE_APIS +#define VTEST_PROTOCOL_VERSION 3 +#else #define VTEST_PROTOCOL_VERSION 2 +#endif /* 32-bit length field */ /* 32-bit cmd field */