File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
drivers/gpu/drm/amd/amdgpu Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -1766,10 +1766,6 @@ static int amdgpu_device_ip_early_init(struct amdgpu_device *adev)
1766
1766
return - EINVAL ;
1767
1767
}
1768
1768
1769
- r = amdgpu_device_parse_gpu_info_fw (adev );
1770
- if (r )
1771
- return r ;
1772
-
1773
1769
amdgpu_amdkfd_device_probe (adev );
1774
1770
1775
1771
if (amdgpu_sriov_vf (adev )) {
@@ -1824,6 +1820,10 @@ static int amdgpu_device_ip_early_init(struct amdgpu_device *adev)
1824
1820
}
1825
1821
/* get the vbios after the asic_funcs are set up */
1826
1822
if (adev -> ip_blocks [i ].version -> type == AMD_IP_BLOCK_TYPE_COMMON ) {
1823
+ r = amdgpu_device_parse_gpu_info_fw (adev );
1824
+ if (r )
1825
+ return r ;
1826
+
1827
1827
/* skip vbios handling for new handshake */
1828
1828
if (amdgpu_sriov_vf (adev ) && adev -> virt .req_init_data_ver == 1 )
1829
1829
continue ;
You can’t perform that action at this time.
0 commit comments