]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit376a28d869081f3eca3265846ecccb90f91b059e
treec97042d57e34292c95b5fe46c79a14148c78ead6
parent06f9a948a67bf05957985363ba152bb7c821ae9e
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