[PATCH 2/3] drm/amd: Decrease warning about missing SRAT table to debug

Mario Limonciello mario.limonciello at amd.com
Wed Jan 18 22:47:10 UTC 2023


As OEMs will control what ACPI tables are on their systems, SRAT
might not be present. To avoid making an assumption that it is
there but still be useful for debugging a missing table decrease
warning about missing table to debug.

Signed-off-by: Mario Limonciello <mario.limonciello at amd.com>
---
 drivers/gpu/drm/amd/amdkfd/kfd_crat.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/amd/amdkfd/kfd_crat.c b/drivers/gpu/drm/amd/amdkfd/kfd_crat.c
index 3251f4783ba10..a309cbc235c61 100644
--- a/drivers/gpu/drm/amd/amdkfd/kfd_crat.c
+++ b/drivers/gpu/drm/amd/amdkfd/kfd_crat.c
@@ -1904,7 +1904,7 @@ static void kfd_find_numa_node_in_srat(struct kfd_dev *kdev)
 	/* Fetch the SRAT table from ACPI */
 	status = acpi_get_table(ACPI_SIG_SRAT, 0, &table_header);
 	if (status == AE_NOT_FOUND) {
-		pr_warn("SRAT table not found\n");
+		pr_debug("SRAT table not found\n");
 		return;
 	} else if (ACPI_FAILURE(status)) {
 		const char *err = acpi_format_exception(status);
-- 
2.34.1



More information about the amd-gfx mailing list