diff options
author | Hawking Zhang <Hawking.Zhang@amd.com> | 2019-08-30 13:34:38 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2019-09-13 17:11:05 -0500 |
commit | dda79907a77bc6bb34412762925ff1d6d3e2a67a (patch) | |
tree | 6b3f828ff752101570a7087a6539a939b141ee1d /drivers/gpu/drm/amd/amdgpu/amdgpu_mmhub.h | |
parent | 2452e7783c7a6eb9dc6892b49be25988850962a0 (diff) | |
download | linux-dda79907a77bc6bb34412762925ff1d6d3e2a67a.tar.gz linux-dda79907a77bc6bb34412762925ff1d6d3e2a67a.tar.bz2 linux-dda79907a77bc6bb34412762925ff1d6d3e2a67a.zip |
drm/amdgpu: add mmhub ras_late_init callback function (v2)
The function will be called in late init phase to do mmhub
ras init
v2: check ras_late_init function pointer before invoking the
function
Signed-off-by: Hawking Zhang <Hawking.Zhang@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@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 | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_mmhub.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_mmhub.h index 2d75ecfa199b..df04c718dfab 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_mmhub.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_mmhub.h @@ -23,6 +23,7 @@ struct amdgpu_mmhub_funcs { void (*ras_init)(struct amdgpu_device *adev); + int (*ras_late_init)(struct amdgpu_device *adev); void (*query_ras_error_count)(struct amdgpu_device *adev, void *ras_error_status); }; |