mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2024-12-29 11:06:18 +00:00
st/oxr: Tidy and print out suggested uuid in physical device selection code
This commit is contained in:
parent
8dfae6d1d1
commit
3492c9e948
|
@ -441,17 +441,14 @@ oxr_vk_get_physical_device(struct oxr_logger *log,
|
|||
if (memcmp(pdidp.deviceUUID, sys->xsysc->info.client_vk_deviceUUID, XRT_GPU_UUID_SIZE) == 0) {
|
||||
gpu_index = i;
|
||||
if (log_level <= U_LOGGING_DEBUG) {
|
||||
oxr_log(log,
|
||||
"Using GPU %d with uuid %s suggested "
|
||||
"by runtime",
|
||||
gpu_index, uuid_str);
|
||||
oxr_log(log, "Using GPU %d with uuid %s suggested by runtime", gpu_index, uuid_str);
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
if (gpu_index == -1) {
|
||||
oxr_warn(log, "Did not find runtime suggested GPU, fall back to GPU 0");
|
||||
oxr_warn(log, "Did not find runtime suggested GPU, fall back to GPU 0\n\tuuid: %s", suggested_uuid_str);
|
||||
gpu_index = 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue