drm/amdgpu/nbio: switch to amdgpu_nbio_ras_late_init helper function
authorHawking Zhang <Hawking.Zhang@amd.com>
Mon, 2 Sep 2019 22:48:00 +0000 (06:48 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 13 Sep 2019 22:42:02 +0000 (17:42 -0500)
commit1c70d3d9c4a6d4e4b4425d78e0a919cfaa3cf8db
treec97042d57e34292c95b5fe46c79a14148c78ead6
parent47930de4aa7068188e64475cdc0f2c8f4e1ff194
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>
drivers/gpu/drm/amd/amdgpu/Makefile
drivers/gpu/drm/amd/amdgpu/amdgpu_nbio.c [new file with mode: 0644]
drivers/gpu/drm/amd/amdgpu/amdgpu_nbio.h
drivers/gpu/drm/amd/amdgpu/nbio_v7_4.c