]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/amdgpu: move getting pcie info to common code
authorAlex Deucher <alexander.deucher@amd.com>
Fri, 9 Mar 2018 20:14:11 +0000 (15:14 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 14 Mar 2018 21:01:16 +0000 (16:01 -0500)
commit5494d8640ffc1df6096fd37943948ab46a152850
treeb17883b835969c40c14bfdd09b14382bca10fed0
parent3cdfe700567a653ba18dfe012f74b6b75b4bd946
drm/amdgpu: move getting pcie info to common code

No need to replicate it in several places.

Reviewed-by: Rex Zhu <rezhu@amd.com>
Acked-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu.h
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
drivers/gpu/drm/amd/amdgpu/cik.c
drivers/gpu/drm/amd/amdgpu/soc15.c
drivers/gpu/drm/amd/amdgpu/vi.c