diff options
| author | yipechai <[email protected]> | 2022-01-05 07:39:13 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2022-01-14 22:52:00 +0000 |
| commit | b0e2062dc8978869c1dd96d92027f74b361d5eb7 (patch) | |
| tree | 0931bf55b23914b6e2992c936ac5e2d5b78de97f /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.h | |
| parent | drm/amdgpu: Modify sdma block to fit for the unified ras block data and ops (diff) | |
| download | kernel-b0e2062dc8978869c1dd96d92027f74b361d5eb7.tar.gz kernel-b0e2062dc8978869c1dd96d92027f74b361d5eb7.zip | |
drm/amdgpu: Modify mca block to fit for the unified ras block data and ops
1.Modify mca block to fit for the unified ras block data and ops.
2.Define special .ras_block_match function for mca block to identify itself.
3.Change amdgpu_mca_ras_funcs to amdgpu_mca_ras_block(amdgpu_mca_ras had been used), and the corresponding variable name remove _funcs suffix.
4.Remove the const flag of cma ras variable so that cma ras block can be able to be inserted into amdgpu device ras block link list.
5.Invoke amdgpu_ras_register_ras_block function to register cma ras block into amdgpu device ras block link list.
6.Remove the redundant code about cma in amdgpu_ras.c after using the unified ras block.
Signed-off-by: yipechai <[email protected]>
Reviewed-by: Hawking Zhang <[email protected]>
Reviewed-by: John Clements <[email protected]>
Reviewed-by: Tao Zhou <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.h')
0 files changed, 0 insertions, 0 deletions
