diff options
author | Alex Deucher <alexander.deucher@amd.com> | 2018-03-09 15:06:35 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2018-03-14 17:01:15 -0400 |
commit | 19aede779138c0514b8e96c24473f22aaf21be65 (patch) | |
tree | aeecc5bff8b5e9036d217813d91197f26549175c /drivers/gpu/drm/amd/amdgpu/cik.c | |
parent | a9f3636019747cc05b16911e6476ebf2fd2febe1 (diff) |
drm/amdgpu: move firmware loading type setup 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.c | 2 |
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 4324184996a5..f14dd1b073e9 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) | |||
1887 | return -EINVAL; | 1887 | return -EINVAL; |
1888 | } | 1888 | } |
1889 | 1889 | ||
1890 | adev->firmware.load_type = amdgpu_ucode_get_load_type(adev, amdgpu_fw_load_type); | ||
1891 | |||
1892 | amdgpu_device_get_pcie_info(adev); | 1890 | amdgpu_device_get_pcie_info(adev); |
1893 | 1891 | ||
1894 | return 0; | 1892 | return 0; |