venus: default to enable GPL

Update the debug option to NO_GPL to help with runtime debug, and
default to enable GPL.

Signed-off-by: Yiwei Zhang <zzyiwei@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27054>
This commit is contained in:
Yiwei Zhang 2024-01-19 15:22:13 -08:00 committed by Marge Bot
parent 85df907ad8
commit 42fc83a6e3
3 changed files with 3 additions and 3 deletions

View file

@ -33,7 +33,7 @@ static const struct debug_control vn_debug_options[] = {
{ "log_ctx_info", VN_DEBUG_LOG_CTX_INFO },
{ "cache", VN_DEBUG_CACHE },
{ "no_sparse", VN_DEBUG_NO_SPARSE },
{ "gpl", VN_DEBUG_GPL },
{ "no_gpl", VN_DEBUG_NO_GPL },
{ NULL, 0 },
/* clang-format on */
};

View file

@ -110,7 +110,7 @@ enum vn_debug {
VN_DEBUG_LOG_CTX_INFO = 1ull << 5,
VN_DEBUG_CACHE = 1ull << 6,
VN_DEBUG_NO_SPARSE = 1ull << 7,
VN_DEBUG_GPL = 1ull << 8,
VN_DEBUG_NO_GPL = 1ull << 8,
};
enum vn_perf {

View file

@ -1135,7 +1135,7 @@ vn_physical_device_get_passthrough_extensions(
.EXT_extended_dynamic_state3 = true,
.EXT_dynamic_rendering_unused_attachments = true,
.EXT_fragment_shader_interlock = true,
.EXT_graphics_pipeline_library = VN_DEBUG(GPL),
.EXT_graphics_pipeline_library = !VN_DEBUG(NO_GPL),
.EXT_image_2d_view_of_3d = true,
.EXT_image_drm_format_modifier = true,
.EXT_image_view_min_lod = true,