Skip to contentSkip to conversation

drm/amdgpu: demote mem_reserved_info dump to dev_dbg

PATCH New Horatio Zhang 1 participant 1 message Oct 21

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drm/amdgpu: demote mem_reserved_info dump to dev_dbg

The MEM_RESERVED_INFO table dump is purely debug information, but it is printed at info level, so every probe spams the kernel log with one line per reserved region.

---
 drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)
drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c +6 -6
index 16e3129db6a1..74f82ae8475d 100644
@@ -2467,14 +2467,14 @@ static void amdgpu_discovery_dump_mem_reserved_info_table(struct amdgpu_device *
 	u32 list_num = min_t(u32, le32_to_cpu(table->list_num), MAX_MEM_REGION_NUM);
 	u32 id, i;
 
-	dev_info(adev->dev, "MEM_RESERVED_INFO: list_num=%u\n", list_num);
+	dev_dbg(adev->dev, "MEM_RESERVED_INFO: list_num=%u\n", list_num);
 	for (i = 0; i < list_num; i++) {
 		id = le32_to_cpu(table->list[i].reserved_region_id);
-		dev_info(adev->dev, "  [%u] id=%u (%s) size=0x%llx start=0x%llx\n",
-			 i, id,
-			 amdgpu_discovery_mem_reserved_region_name(id),
-			 le64_to_cpu(table->list[i].reserved_region_size),
-			 le64_to_cpu(table->list[i].reserved_region_start));
+		dev_dbg(adev->dev, "  [%u] id=%u (%s) size=0x%llx start=0x%llx\n",
+			i, id,
+			amdgpu_discovery_mem_reserved_region_name(id),
+			le64_to_cpu(table->list[i].reserved_region_size),
+			le64_to_cpu(table->list[i].reserved_region_start));
 	}
 }
 
Signature · 1 line
2.43.0