diff options
| author | Hawking Zhang <Hawking.Zhang@amd.com> | 2023-03-13 14:18:34 +0800 | 
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2023-03-15 18:45:27 -0400 | 
| commit | fdc94d3a8c887e4e06a7ff8dcb51d55cd70e16cf (patch) | |
| tree | 0c5e36c606d8d27b6b92066bbbec16108c23d3bd /drivers/gpu/drm/amd/amdgpu/amdgpu_nbio.h | |
| parent | da9d669eab152dbd6e9410606a7c8c8a212a7959 (diff) | |
drm/amdgpu: Rework pcie_bif ras sw_init
pcie_bif ras blocks needs to be initialized as early
as possible to handle fatal error detected in hw_init
phase. also align the pcie_bif ras sw_init with other
ras blocks
Signed-off-by: Hawking Zhang <Hawking.Zhang@amd.com>
Reviewed-by: Stanley Yang <Stanley.Yang@amd.com>
Reviewed-by: Tao Zhou <tao.zhou1@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_nbio.h')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_nbio.h | 1 | 
1 files changed, 1 insertions, 0 deletions
| diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_nbio.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_nbio.h index a240336bbc6b..c686ff4bcc39 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_nbio.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_nbio.h @@ -106,5 +106,6 @@ struct amdgpu_nbio {  	struct amdgpu_nbio_ras  *ras;  }; +int amdgpu_nbio_ras_sw_init(struct amdgpu_device *adev);  int amdgpu_nbio_ras_late_init(struct amdgpu_device *adev, struct ras_common_if *ras_block);  #endif | 
