From 8d4bb6e5cd674da31d665ea54f5a500e8c7c1a6f Mon Sep 17 00:00:00 2001 From: Gert Wollny Date: Wed, 12 Sep 2018 11:59:35 +0200 Subject: virgl: Add command and flags to initiate debugging on the host (v2) On the host VREND_DEBUG=guestallow must be set to let the guest override the debug flags. v2: Send flag string instead of flags, this avoids the need to keep the flags in sync. v3: Only request host logging if the host actually understands the command Signed-off-by: Gert Wollny Reviewed-by: Erik Faye-Lund --- src/gallium/drivers/virgl/virgl_protocol.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/gallium/drivers/virgl/virgl_protocol.h') diff --git a/src/gallium/drivers/virgl/virgl_protocol.h b/src/gallium/drivers/virgl/virgl_protocol.h index 8d99c5ed470..3373121bf74 100644 --- a/src/gallium/drivers/virgl/virgl_protocol.h +++ b/src/gallium/drivers/virgl/virgl_protocol.h @@ -92,6 +92,7 @@ enum virgl_context_cmd { VIRGL_CCMD_SET_FRAMEBUFFER_STATE_NO_ATTACH, VIRGL_CCMD_TEXTURE_BARRIER, VIRGL_CCMD_SET_ATOMIC_BUFFERS, + VIRGL_CCMD_SET_DEBUG_FLAGS, }; /* -- cgit v1.2.3