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. Signed-off-by: Nirmoy Das <nirmoy.das@xxxxxxx> --- drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c index b7ee587484b2..ad1b9f148a8e 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c @@ -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 amd-gfx@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/amd-gfx