summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/cik.c
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2018-03-09 21:14:11 +0100
committerAlex Deucher <alexander.deucher@amd.com>2018-03-14 22:01:16 +0100
commit5494d8640ffc1df6096fd37943948ab46a152850 (patch)
treeb17883b835969c40c14bfdd09b14382bca10fed0 /drivers/gpu/drm/amd/amdgpu/cik.c
parentdrm/amdgpu/soc15: always load the psp module (diff)
downloadlinux-5494d8640ffc1df6096fd37943948ab46a152850.tar.xz
linux-5494d8640ffc1df6096fd37943948ab46a152850.zip
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>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/cik.c')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/cik.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/cik.c b/drivers/gpu/drm/amd/amdgpu/cik.c
index f14dd1b073e9..71b35623b32d 100644
--- a/drivers/gpu/drm/amd/amdgpu/cik.c
+++ b/drivers/gpu/drm/amd/amdgpu/cik.c
@@ -1887,8 +1887,6 @@ static int cik_common_early_init(void *handle)
return -EINVAL;
}
- amdgpu_device_get_pcie_info(adev);
-
return 0;
}