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>
Этот коммит содержится в:
Alex Deucher
2018-03-09 15:14:11 -05:00
родитель 3cdfe70056
Коммит 5494d8640f
5 изменённых файлов: 5 добавлений и 9 удалений

Просмотреть файл

@@ -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;
}