diff options
Diffstat (limited to 'common/recipes-kernel/linux/linux-yocto-4.19.8/1170-drm-amdgpu-Show-XGMI-node-and-hive-message-per-devic.patch')
-rw-r--r-- | common/recipes-kernel/linux/linux-yocto-4.19.8/1170-drm-amdgpu-Show-XGMI-node-and-hive-message-per-devic.patch | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/common/recipes-kernel/linux/linux-yocto-4.19.8/1170-drm-amdgpu-Show-XGMI-node-and-hive-message-per-devic.patch b/common/recipes-kernel/linux/linux-yocto-4.19.8/1170-drm-amdgpu-Show-XGMI-node-and-hive-message-per-devic.patch new file mode 100644 index 00000000..05a9da09 --- /dev/null +++ b/common/recipes-kernel/linux/linux-yocto-4.19.8/1170-drm-amdgpu-Show-XGMI-node-and-hive-message-per-devic.patch @@ -0,0 +1,43 @@ +From 5fbfce274ca2ecd703c02ed9d1595582a5bde5e9 Mon Sep 17 00:00:00 2001 +From: shaoyunl <shaoyun.liu@amd.com> +Date: Mon, 28 Jan 2019 11:54:35 -0500 +Subject: [PATCH 1170/2940] drm/amdgpu: Show XGMI node and hive message per + device only once + +Reduce the repeated node and hive information during XGMI initialization + +Change-Id: I1c1e4dadf9d771cde53225666b9a10ceca9167c0 +Signed-off-by: shaoyunl <shaoyun.liu@amd.com> +Acked-by: Alex Deucher <alexander.deucher@amd.com> +--- + drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.c | 7 +++---- + 1 file changed, 3 insertions(+), 4 deletions(-) + +diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.c +index dac187454b33..0d90672d0e58 100644 +--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.c ++++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.c +@@ -91,10 +91,6 @@ int amdgpu_xgmi_update_topology(struct amdgpu_hive_info *hive, struct amdgpu_dev + "XGMI: Set topology failure on device %llx, hive %llx, ret %d", + adev->gmc.xgmi.node_id, + adev->gmc.xgmi.hive_id, ret); +- else +- dev_info(adev->dev, "XGMI: Set topology for node %d, hive 0x%llx.\n", +- adev->gmc.xgmi.physical_node_id, +- adev->gmc.xgmi.hive_id); + + return ret; + } +@@ -160,6 +156,9 @@ int amdgpu_xgmi_add_device(struct amdgpu_device *adev) + break; + } + ++ dev_info(adev->dev, "XGMI: Add node %d, hive 0x%llx.\n", ++ adev->gmc.xgmi.physical_node_id, adev->gmc.xgmi.hive_id); ++ + mutex_unlock(&hive->hive_lock); + exit: + return ret; +-- +2.17.1 + |