diff options
author | yipechai <YiPeng.Chai@amd.com> | 2022-02-15 14:38:13 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2022-02-17 15:59:05 -0500 |
commit | 418abce203fc2e936bf8c7632a9a429e861f6283 (patch) | |
tree | 2af7cd6a0eca02b9ab927fcbad7a98c455459f2e /drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c | |
parent | 867e24ca4945249baf34ea07ae6b27ca927210a1 (diff) |
drm/amdgpu: Remove redundant .ras_late_init initialization in some ras blocks
1. Define amdgpu_ras_block_late_init_default in amdgpu_ras.c as
.ras_late_init common function, which is called when
.ras_late_init of ras block isn't initialized.
2. Remove the code of using amdgpu_ras_block_late_init to
initialize .ras_late_init in ras blocks.
Signed-off-by: yipechai <YiPeng.Chai@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_discovery.c')
0 files changed, 0 insertions, 0 deletions