summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/soc15.c
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2018-03-09 15:14:11 -0500
committerAlex Deucher <alexander.deucher@amd.com>2018-03-14 16:01:16 -0500
commit5494d8640ffc1df6096fd37943948ab46a152850 (patch)
treeb17883b835969c40c14bfdd09b14382bca10fed0 /drivers/gpu/drm/amd/amdgpu/soc15.c
parent3cdfe700567a653ba18dfe012f74b6b75b4bd946 (diff)
downloadop-kernel-dev-5494d8640ffc1df6096fd37943948ab46a152850.zip
op-kernel-dev-5494d8640ffc1df6096fd37943948ab46a152850.tar.gz
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/soc15.c')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/soc15.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/soc15.c b/drivers/gpu/drm/amd/amdgpu/soc15.c
index b2cf0be..28b0dbf 100644
--- a/drivers/gpu/drm/amd/amdgpu/soc15.c
+++ b/drivers/gpu/drm/amd/amdgpu/soc15.c
@@ -691,8 +691,6 @@ static int soc15_common_early_init(void *handle)
xgpu_ai_mailbox_set_irq_funcs(adev);
}
- amdgpu_device_get_pcie_info(adev);
-
return 0;
}
OpenPOWER on IntegriCloud