]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf091cc2054173725cbd69975ec2e59f673e7dad3
treee8ce48d0ee4c9840f789ae64dfdd87146b77fee3
parent9d8ac799cdc8e16ed92ed901116923b7d7262f3a
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