drm/amdgpu/nbio: switch to amdgpu_nbio_ras_late_init helper function

amdgpu_nbio_ras_late_init is used to init nbio specfic
ras debugfs/sysfs node and nbio specific interrupt handler.
It can be shared among nbio generations

Signed-off-by: Hawking Zhang <Hawking.Zhang@amd.com>
Reviewed-by: Tao Zhou <tao.zhou1@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
Hawking Zhang
2019-09-03 06:48:00 +08:00
committed by Alex Deucher
parent 47930de4aa
commit 1c70d3d9c4
4 changed files with 75 additions and 49 deletions

View File

@@ -92,4 +92,6 @@ struct amdgpu_nbio {
const struct amdgpu_nbio_funcs *funcs;
};
int amdgpu_nbio_ras_late_init(struct amdgpu_device *adev);
#endif