diff options
| author | Hawking Zhang <[email protected]> | 2019-09-02 22:48:00 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2019-09-13 22:42:02 +0000 |
| commit | 1c70d3d9c4a6d4e4b4425d78e0a919cfaa3cf8db (patch) | |
| tree | c97042d57e34292c95b5fe46c79a14148c78ead6 /drivers/gpu/drm/amd/amdgpu/amdgpu_nbio.h | |
| parent | drm/amdgpu/mmhub: switch to amdgpu_mmhub_ras_late_init helper function (diff) | |
| download | kernel-1c70d3d9c4a6d4e4b4425d78e0a919cfaa3cf8db.tar.gz kernel-1c70d3d9c4a6d4e4b4425d78e0a919cfaa3cf8db.zip | |
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 <[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.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_nbio.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_nbio.h index 51078da6188f..c5255a7fd65a 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_nbio.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_nbio.h @@ -92,4 +92,6 @@ struct amdgpu_nbio { const struct amdgpu_nbio_funcs *funcs; }; +int amdgpu_nbio_ras_late_init(struct amdgpu_device *adev); + #endif |
