drm/amdkfd: Adjust three kfd dmesg printings during initialization
authorYong Zhao <Yong.Zhao@amd.com>
Fri, 17 Apr 2020 20:06:59 +0000 (16:06 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 22 Apr 2020 22:11:49 +0000 (18:11 -0400)
Delete two printings which are not very useful, and change one from
pr_info() to pr_debug().

Signed-off-by: Yong Zhao <Yong.Zhao@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdkfd/kfd_crat.c
drivers/gpu/drm/amd/amdkfd/kfd_topology.c

index de9f68d..1009a3b 100644 (file)
@@ -502,7 +502,7 @@ int kfd_parse_crat_table(void *crat_image, struct list_head *device_list,
        num_nodes = crat_table->num_domains;
        image_len = crat_table->length;
 
-       pr_info("Parsing CRAT table with %d nodes\n", num_nodes);
+       pr_debug("Parsing CRAT table with %d nodes\n", num_nodes);
 
        for (node_id = 0; node_id < num_nodes; node_id++) {
                top_dev = kfd_create_topology_device(device_list);
index aa0bfa7..8e6409b 100644 (file)
@@ -787,7 +787,6 @@ static int kfd_topology_update_sysfs(void)
 {
        int ret;
 
-       pr_info("Creating topology SYSFS entries\n");
        if (!sys_props.kobj_topology) {
                sys_props.kobj_topology =
                                kfd_alloc_struct(sys_props.kobj_topology);
@@ -1048,7 +1047,6 @@ int kfd_topology_init(void)
                sys_props.generation_count++;
                kfd_update_system_properties();
                kfd_debug_print_topology();
-               pr_info("Finished initializing topology\n");
        } else
                pr_err("Failed to update topology in sysfs ret=%d\n", ret);