aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_nbio.h
diff options
context:
space:
mode:
authorHawking Zhang <[email protected]>2023-03-13 06:18:34 +0000
committerAlex Deucher <[email protected]>2023-03-15 22:45:27 +0000
commitfdc94d3a8c887e4e06a7ff8dcb51d55cd70e16cf (patch)
tree0c5e36c606d8d27b6b92066bbbec16108c23d3bd /drivers/gpu/drm/amd/amdgpu/amdgpu_nbio.h
parentdrm/amdgpu: Rework xgmi_wafl_pcs ras sw_init (diff)
downloadkernel-fdc94d3a8c887e4e06a7ff8dcb51d55cd70e16cf.tar.gz
kernel-fdc94d3a8c887e4e06a7ff8dcb51d55cd70e16cf.zip
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 <[email protected]> Reviewed-by: Stanley Yang <[email protected]> Reviewed-by: Tao Zhou <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_nbio.h')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_nbio.h1
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