summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_nbio.h
diff options
context:
space:
mode:
authorHawking Zhang <Hawking.Zhang@amd.com>2019-09-03 01:48:00 +0300
committerAlex Deucher <alexander.deucher@amd.com>2019-09-14 01:42:02 +0300
commit1c70d3d9c4a6d4e4b4425d78e0a919cfaa3cf8db (patch)
treec97042d57e34292c95b5fe46c79a14148c78ead6 /drivers/gpu/drm/amd/amdgpu/amdgpu_nbio.h
parent47930de4aa7068188e64475cdc0f2c8f4e1ff194 (diff)
downloadlinux-1c70d3d9c4a6d4e4b4425d78e0a919cfaa3cf8db.tar.xz
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>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_nbio.h')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_nbio.h2
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