mirror of
https://github.com/torvalds/linux.git
synced 2026-04-18 14:53:58 -04:00
drm/amd/ras: Support sriov uniras to obtain cper data
Support sriov uniras to obtain cper data. Signed-off-by: YiPeng Chai <YiPeng.Chai@amd.com> Reviewed-by: Tao Zhou <tao.zhou1@amd.com> Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
committed by
Alex Deucher
parent
1855fc6b09
commit
c174a6317b
@@ -3323,8 +3323,7 @@ static int amdgpu_device_ip_init(struct amdgpu_device *adev)
|
||||
|
||||
amdgpu_fru_get_product_info(adev);
|
||||
|
||||
if (!amdgpu_sriov_vf(adev) || amdgpu_sriov_ras_cper_en(adev))
|
||||
r = amdgpu_cper_init(adev);
|
||||
r = amdgpu_cper_init(adev);
|
||||
|
||||
init_failed:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user