venus: log performance envs upon instance creation with debug init
Signed-off-by: Yiwei Zhang <zzyiwei@chromium.org> Change-Id: I8db93d6de28ac6a727c10fbaca94cffac092f8ea Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16256>
This commit is contained in:
@@ -61,6 +61,18 @@ vn_env_init(void)
|
||||
{
|
||||
static once_flag once = ONCE_FLAG_INIT;
|
||||
call_once(&once, vn_env_init_once);
|
||||
|
||||
/* log per VkInstance creation */
|
||||
if (VN_DEBUG(INIT)) {
|
||||
vn_log(NULL,
|
||||
"vn_env is as below:"
|
||||
"\n\tdebug = 0x%" PRIx64 ""
|
||||
"\n\tperf = 0x%" PRIx64 ""
|
||||
"\n\tdraw_cmd_batch_limit = %u"
|
||||
"\n\trelax_base_sleep_us = %u",
|
||||
vn_env.debug, vn_env.perf, vn_env.draw_cmd_batch_limit,
|
||||
vn_env.relax_base_sleep_us);
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
|
||||
Reference in New Issue
Block a user