diff options
| author | Hawking Zhang <[email protected]> | 2019-08-30 05:34:38 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2019-09-13 22:11:05 +0000 |
| commit | dda79907a77bc6bb34412762925ff1d6d3e2a67a (patch) | |
| tree | 6b3f828ff752101570a7087a6539a939b141ee1d /drivers/gpu/drm/amd/amdgpu/amdgpu_mmhub.h | |
| parent | drm/amdgpu: switch to amdgpu_ras_late_init for gmc v9 block (v2) (diff) | |
| download | kernel-dda79907a77bc6bb34412762925ff1d6d3e2a67a.tar.gz kernel-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 <[email protected]>
Reviewed-by: Alex Deucher <[email protected]>
Reviewed-by: Tao Zhou <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
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); }; |
