]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: Fix pci platform speed and width
authorHarish Kasiviswanathan <Harish.Kasiviswanathan@amd.com>
Fri, 1 Feb 2019 22:57:48 +0000 (17:57 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 7 Feb 2019 19:03:18 +0000 (14:03 -0500)
commitfdf59e0475791293ec32b42a18bee78d6e5e6067
treeaed8ac7a34aff0b5248003aba606af2201aefd11
parent9077810a4b990ac5ad057e253fdda0ed22e4a781
drm/amdgpu: Fix pci platform speed and width

The new Vega series GPU cards have in-built bridges. To get the pcie
speed and width supported by the platform walk the hierarchy and get the
slowest link.

Signed-off-by: Harish Kasiviswanathan <Harish.Kasiviswanathan@amd.com>
Acked-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c