[PATCH] drm/amdgpu/discovery: make the discovery code less chatty

Yuan, Xiaojie Xiaojie.Yuan at amd.com
Thu Feb 20 13:56:30 UTC 2020


[AMD Official Use Only - Internal Distribution Only]

Reviewed-by: Xiaojie Yuan <xiaojie.yuan at amd.com>

BR,
Xiaojie

________________________________________
From: amd-gfx <amd-gfx-bounces at lists.freedesktop.org> on behalf of Alex Deucher <alexdeucher at gmail.com>
Sent: Thursday, February 20, 2020 2:51 AM
To: amd-gfx at lists.freedesktop.org
Cc: Deucher, Alexander
Subject: [PATCH] drm/amdgpu/discovery: make the discovery code less chatty

Make the IP block base output debug only.

Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
---
 drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c
index f95092741c38..27d8ae19a7a4 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c
@@ -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;
--
2.24.1

_______________________________________________
amd-gfx mailing list
amd-gfx at lists.freedesktop.org
https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.freedesktop.org%2Fmailman%2Flistinfo%2Famd-gfx&data=02%7C01%7CXiaojie.Yuan%40amd.com%7C6bea1e07f83447f56c3c08d7b56cc1d1%7C3dd8961fe4884e608e11a82d994e183d%7C0%7C0%7C637177351030201676&sdata=Hyukxx%2FJjHeCQrsvWboFy5t5WTrj1h5zI68ugDbT0m8%3D&reserved=0


More information about the amd-gfx mailing list