diff options
author | Alex Deucher <alexander.deucher@amd.com> | 2018-03-09 23:06:35 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2018-03-15 00:01:15 +0300 |
commit | 19aede779138c0514b8e96c24473f22aaf21be65 (patch) | |
tree | aeecc5bff8b5e9036d217813d91197f26549175c /drivers/gpu/drm/amd/amdgpu/vi.c | |
parent | a9f3636019747cc05b16911e6476ebf2fd2febe1 (diff) | |
download | linux-19aede779138c0514b8e96c24473f22aaf21be65.tar.xz |
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/vi.c')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/vi.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/vi.c b/drivers/gpu/drm/amd/amdgpu/vi.c index 61360a1552d8..dec7de3be78a 100644 --- a/drivers/gpu/drm/amd/amdgpu/vi.c +++ b/drivers/gpu/drm/amd/amdgpu/vi.c @@ -1097,9 +1097,6 @@ static int vi_common_early_init(void *handle) xgpu_vi_mailbox_set_irq_funcs(adev); } - /* vi use smc load by default */ - adev->firmware.load_type = amdgpu_ucode_get_load_type(adev, amdgpu_fw_load_type); - amdgpu_device_get_pcie_info(adev); return 0; |