Skip to contentSkip to conversation

drm/amdgpu: Update XGMI node print

PATCH In review Andrey Grodzovsky 4 participants 4 messages Dec 3, 2018 3 messages not in the archive

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

PATCH 1/1 drm/amdgpu: Update XGMI node print

amdgpu_xgmi_update_topology is called both on device registration and reset. Fix misleading print since the device is added only once to the hive on registration and not on reset.

---
 drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.c +1 -1
index 1b15ff3..0b263a9 100644
@@ -78,7 +78,7 @@ int amdgpu_xgmi_update_topology(struct amdgpu_hive_info *hive, struct amdgpu_dev
 			adev->gmc.xgmi.node_id,
 			adev->gmc.xgmi.hive_id, ret);
 	else
-		dev_info(adev->dev, "XGMI: Add node %d to hive 0x%llx.\n",
+		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);
 
Signature · 6 lines
2.7.4

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

A message that is not in the archive (sent off-list or not yet received): 1543867421-19506-1-git-send-email-andrey.grodzovsky-5C7GfCeVMHo@public.gmane.org

#2 lore raw

________________________________
From: amd-gfx <amd-gfx-bounces-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org> on behalf of Andrey Grodzovsky <[email protected]>
Sent: Monday, December 3, 2018 3:03:41 PM
To: [email protected]
Cc: Deucher, Alexander; Grodzovsky, Andrey
Subject: [PATCH] drm/amdgpu: Update XGMI node print

amdgpu_xgmi_update_topology is called both on device registration and reset. Fix misleading print since the device is added only once to the hive on registration and not on reset.

---
 drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.c +1 -1
index 1b15ff3..0b263a9 100644
@@ -78,7 +78,7 @@ int amdgpu_xgmi_update_topology(struct amdgpu_hive_info *hive, struct amdgpu_dev
                         adev->gmc.xgmi.node_id,
                         adev->gmc.xgmi.hive_id, ret);
         else
-               dev_info(adev->dev, "XGMI: Add node %d to hive 0x%llx.\n",
+               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);
 

--
2.7.4

_______________________________________________
amd-gfx mailing list [email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

A message that is not in the archive (sent off-list or not yet received): BN6PR12MB18092A5B1B4674504CDDDA6EF7AE0-/b2+HYfkarSEx6ez0IUAagdYzm3356FpvxpqHgZTriW3zl9H0oFU5g@public.gmane.org

Acked-by Felix Kuehling
#4 lore raw

Shaoyun, FYI

Quoted 28 lines · Alexander

------------------------------------------------------------------------
*From:* amd-gfx <[email protected]> on behalf of Andrey Grodzovsky <[email protected]>
*Sent:* Monday, December 3, 2018 3:03:41 PM
*To:* [email protected]
*Cc:* Deucher, Alexander; Grodzovsky, Andrey
*Subject:* [PATCH] drm/amdgpu: Update XGMI node print

amdgpu_xgmi_update_topology is called both on device registration and reset. Fix misleading print since the device is added only once to the hive on registration and not on reset.

---
 drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.c | 2 +-

 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.c +0 -0
index 1b15ff3..0b263a9 100644
@@ -78,7 +78,7 @@ int amdgpu_xgmi_update_topology(struct

amdgpu_hive_info *hive, struct amdgpu_dev
                         adev->gmc.xgmi.node_id,

Quoted 20 lines

                         adev->gmc.xgmi.hive_id, ret);
         else
-               dev_info(adev->dev, "XGMI: Add node %d to hive 0x%llx.\n", +               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);

Signature · 11 lines
2.7.4

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

A message that is not in the archive (sent off-list or not yet received): b9afb51d-66f1-3293-f1d6-83b1b0da1c68-5C7GfCeVMHo@public.gmane.org

#6 lore raw

I'm ok with that change .

Regards

shaoyun.liu

Quoted 50 lines · Felix

Shaoyun, FYI

Quoted 43 lines · Alexander

------------------------------------------------------------------------
*From:* amd-gfx <[email protected]> on behalf of Andrey Grodzovsky <[email protected]>
*Sent:* Monday, December 3, 2018 3:03:41 PM
*To:* [email protected]
*Cc:* Deucher, Alexander; Grodzovsky, Andrey
*Subject:* [PATCH] drm/amdgpu: Update XGMI node print

amdgpu_xgmi_update_topology is called both on device registration and reset. Fix misleading print since the device is added only once to the hive on registration and not on reset.

---
  drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.c +0 -0
index 1b15ff3..0b263a9 100644
@@ -78,7 +78,7 @@ int amdgpu_xgmi_update_topology(struct

amdgpu_hive_info *hive, struct amdgpu_dev
                         adev->gmc.xgmi.node_id, adev->gmc.xgmi.hive_id, ret);
         else
-               dev_info(adev->dev, "XGMI: Add node %d to hive 0x%llx.\n", +               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);

Signature · 6 lines
2.7.4

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
Quoted 8 lines
Quoted 4 lines

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx