diff options
author | Hawking Zhang <Hawking.Zhang@amd.com> | 2019-09-03 01:23:12 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2019-09-14 01:41:55 +0300 |
commit | 47930de4aa7068188e64475cdc0f2c8f4e1ff194 (patch) | |
tree | e8ce48d0ee4c9840f789ae64dfdd87146b77fee3 /drivers/gpu/drm/amd/amdgpu/amdgpu_mmhub.h | |
parent | bfcf62c2a5a930423c043b363de2e5aef7146f39 (diff) | |
download | linux-47930de4aa7068188e64475cdc0f2c8f4e1ff194.tar.xz |
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>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_mmhub.h')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_mmhub.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_mmhub.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_mmhub.h index df04c718dfab..685e54e58700 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_mmhub.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_mmhub.h @@ -28,5 +28,7 @@ struct amdgpu_mmhub_funcs { void *ras_error_status); }; +int amdgpu_mmhub_ras_late_init(struct amdgpu_device *adev); + #endif |