drm/amdgpu/mmhub: switch to amdgpu_mmhub_ras_late_init helper function
authorHawking Zhang <Hawking.Zhang@amd.com>
Mon, 2 Sep 2019 22:23:12 +0000 (06:23 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 13 Sep 2019 22:41:55 +0000 (17:41 -0500)
commit47930de4aa7068188e64475cdc0f2c8f4e1ff194
treee8ce48d0ee4c9840f789ae64dfdd87146b77fee3
parentbfcf62c2a5a930423c043b363de2e5aef7146f39
drm/amdgpu/mmhub: switch to amdgpu_mmhub_ras_late_init helper function

amdgpu_mmhub_ras_late_init is used to init mmhub specfic
ras debugfs/sysfs node and mmhub specific interrupt handler.
It can be shared among mmhub 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_mmhub.c [new file with mode: 0644]
drivers/gpu/drm/amd/amdgpu/amdgpu_mmhub.h
drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.c