Skip to contentSkip to conversation

drm/amdgpu: print pci link status

PATCH New Nirmoy Das 1 participant 1 message Feb 15, 2021

Subsystems (2)
lore
Share & tools
lore

Nirmoy Das

author
#0 lore raw

PATCH 1/1 drm/amdgpu: print pci link status

Printing PCI link status will help user detect scenarios when the device is placed in a pci slot which has less bandwidth than the device's capability.

---
 drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 2 ++
 1 file changed, 2 insertions(+)
drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c +2 -0
index b7ee587484b2..ad1b9f148a8e 100644
@@ -1237,6 +1237,8 @@ static int amdgpu_pci_probe(struct pci_dev *pdev,
 	if (ret)
 		DRM_ERROR("Creating debugfs files failed (%d).\n", ret);
 
+	pcie_print_link_status(pdev);
+
 	return 0;
 
 err_pci:

--
2.30.0

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