OSDN Git Service

drm/amdgpu/discovery: make the discovery code less chatty
authorAlex Deucher <alexander.deucher@amd.com>
Wed, 19 Feb 2020 18:46:27 +0000 (13:46 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 25 Feb 2020 16:01:25 +0000 (11:01 -0500)
Make the IP block base output debug only.

Reviewed-by: Xiaojie Yuan <xiaojie.yuan@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c

index f950927..27d8ae1 100644 (file)
@@ -307,7 +307,7 @@ int amdgpu_discovery_reg_base_init(struct amdgpu_device *adev)
 
                        for (hw_ip = 0; hw_ip < MAX_HWIP; hw_ip++) {
                                if (hw_id_map[hw_ip] == le16_to_cpu(ip->hw_id)) {
-                                       DRM_INFO("set register base offset for %s\n",
+                                       DRM_DEBUG("set register base offset for %s\n",
                                                        hw_id_names[le16_to_cpu(ip->hw_id)]);
                                        adev->reg_offset[hw_ip][ip->number_instance] =
                                                ip->base_address;