From 273c0f252825381eceefd6a7e63d243d3a1205fb Mon Sep 17 00:00:00 2001 From: Lenny Komow Date: Thu, 10 Aug 2017 09:25:49 -0600 Subject: 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 --- loader/loader.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'loader/loader.c') 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); -- cgit v1.2.3