diff options
| author | Lenny Komow <lenny@lunarg.com> | 2017-08-10 09:25:49 -0600 |
|---|---|---|
| committer | Lenny Komow <lenny@lunarg.com> | 2017-08-10 09:49:24 -0600 |
| commit | 273c0f252825381eceefd6a7e63d243d3a1205fb (patch) | |
| tree | ad9297727d40ed4048ddcf34a33667d07f4a4975 /loader/loader.c | |
| parent | ab52839c51f2633eeb81943d300729f9c84e1e86 (diff) | |
| download | usermoji-273c0f252825381eceefd6a7e63d243d3a1205fb.tar.xz | |
loader: Replace overzealous warnings with info
The new ICD search functionality was logging warnings in some places
where information was more appropriate, such as when opening a device
or for some errors that simply indicated that the new format is not
supported yet.
Change-Id: Ifc8ce33d778783f3f55102783bf6ede0dd7c2a00
Diffstat (limited to 'loader/loader.c')
| -rw-r--r-- | loader/loader.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/loader/loader.c b/loader/loader.c index 6d013def..8d5b529c 100644 --- a/loader/loader.c +++ b/loader/loader.c @@ -442,7 +442,7 @@ bool loaderGetDeviceRegistryEntry(const struct loader_instance *inst, char **reg &requiredSize); if (ret != ERROR_SUCCESS) { - loader_log(inst, VK_DEBUG_REPORT_WARNING_BIT_EXT, 0, + loader_log(inst, VK_DEBUG_REPORT_INFORMATION_BIT_EXT, 0, "loaderGetDeviceRegistryEntry: DeviceID(%d) Failed to obtain VulkanDriverName size", devID); goto out; } @@ -585,12 +585,12 @@ VkResult loaderGetDeviceRegistryFiles(const struct loader_instance *inst, char * } if ((ulStatus & DN_HAS_PROBLEM) && (ulProblem == CM_PROB_NEED_RESTART || ulProblem == DN_NEED_RESTART)) { - loader_log(inst, VK_DEBUG_REPORT_WARNING_BIT_EXT, 0, + loader_log(inst, VK_DEBUG_REPORT_INFORMATION_BIT_EXT, 0, "loaderGetRegistryFiles: device %s is pending reboot, skipping ...", deviceName); continue; } - loader_log(inst, VK_DEBUG_REPORT_WARNING_BIT_EXT, 0, + loader_log(inst, VK_DEBUG_REPORT_INFORMATION_BIT_EXT, 0, "loaderGetRegistryFiles: opening device %s", deviceName); if (loaderGetDeviceRegistryEntry(inst, reg_data, reg_data_size, devID, &result)) { @@ -600,7 +600,7 @@ VkResult loaderGetDeviceRegistryFiles(const struct loader_instance *inst, char * status = CM_Get_Child(&childID, devID, 0); if (status != CR_SUCCESS) { - loader_log(inst, VK_DEBUG_REPORT_WARNING_BIT_EXT, 0, + loader_log(inst, VK_DEBUG_REPORT_INFORMATION_BIT_EXT, 0, "loaderGetRegistryFiles: unable to open child-device error:%d", status); continue; } @@ -609,7 +609,7 @@ VkResult loaderGetDeviceRegistryFiles(const struct loader_instance *inst, char * char buffer[MAX_DEVICE_ID_LEN]; CM_Get_Device_ID(childID, buffer, MAX_DEVICE_ID_LEN, 0); - loader_log(inst, VK_DEBUG_REPORT_WARNING_BIT_EXT, 0, + loader_log(inst, VK_DEBUG_REPORT_INFORMATION_BIT_EXT, 0, "loaderGetRegistryFiles: Opening child device %d - %s", childID, buffer); status = CM_Get_DevNode_Registry_Property(childID, CM_DRP_CLASSGUID, NULL, &childGuid, &childGuidSize, 0); |
