diff options
| author | 2018-03-09 15:14:11 -0500 | |
|---|---|---|
| committer | 2018-03-14 16:01:16 -0500 | |
| commit | 5494d8640ffc1df6096fd37943948ab46a152850 (patch) | |
| tree | b17883b835969c40c14bfdd09b14382bca10fed0 /drivers/gpu/drm/amd/amdgpu/vi.c | |
| parent | drm/amdgpu/soc15: always load the psp module (diff) | |
| download | linux-dev-5494d8640ffc1df6096fd37943948ab46a152850.tar.xz linux-dev-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/vi.c')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/vi.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/vi.c b/drivers/gpu/drm/amd/amdgpu/vi.c index dec7de3be78a..e7cf752c3c87 100644 --- a/drivers/gpu/drm/amd/amdgpu/vi.c +++ b/drivers/gpu/drm/amd/amdgpu/vi.c @@ -1097,8 +1097,6 @@ static int vi_common_early_init(void *handle) xgpu_vi_mailbox_set_irq_funcs(adev); } - amdgpu_device_get_pcie_info(adev); - return 0; } |
