From 87fe8206b03bd4d7a09c86e31f2863042319e579 Mon Sep 17 00:00:00 2001 From: Gert Wollny Date: Mon, 27 May 2019 15:07:36 +0200 Subject: [PATCH] debug: Add debugging code for tweaks to table Signed-off-by: Gert Wollny Reviewed-by: Gurchetan Singh --- src/vrend_debug.c | 1 + src/vrend_debug.h | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/vrend_debug.c b/src/vrend_debug.c index 82aa97f..6b525ce 100644 --- a/src/vrend_debug.c +++ b/src/vrend_debug.c @@ -117,6 +117,7 @@ static const struct debug_named_value vrend_debug_options[] = { {"feat", dbg_features, "Log features found"}, {"tex", dbg_tex, "Log texture operations"}, {"caller", dbg_caller, "Log who is creating the context"}, + {"tweak", dbg_tweak, "Log tweaks"}, {"all", dbg_all, "Enable all debugging output"}, {"guestallow", dbg_allow_guest_override, "Allow the guest to override the debug flags"}, DEBUG_NAMED_VALUE_END diff --git a/src/vrend_debug.h b/src/vrend_debug.h index 5f66f43..deaa6e2 100644 --- a/src/vrend_debug.h +++ b/src/vrend_debug.h @@ -43,7 +43,8 @@ enum virgl_debug_flags { dbg_features = 1 << 7, dbg_tex = 1 << 8, dbg_caller = 1 << 9, - dbg_all = (1 << 10) - 1, + dbg_tweak = 1 << 10, + dbg_all = (1 << 12) - 1, dbg_allow_guest_override = 1 << 16, dbg_feature_use = 1 << 17, };