]> 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)
commit662172ab8c6075499bbe1e13fdb649b624bfb76f
treeaed8ac7a34aff0b5248003aba606af2201aefd11
parent09356cf58b71a4fbacee1c7f0f84db6bd87e7cc0
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