diff options
| author | yipechai <YiPeng.Chai@amd.com> | 2022-01-05 10:40:26 +0300 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2022-01-15 01:52:00 +0300 |
| commit | 22d4ba53b1c10de6832e588f01d916e24306f6a1 (patch) | |
| tree | f35c48f1507ec585a9cd5de1185679d06e286e17 /include/linux | |
| parent | b0e2062dc8978869c1dd96d92027f74b361d5eb7 (diff) | |
| download | linux-22d4ba53b1c10de6832e588f01d916e24306f6a1.tar.xz | |
drm/amdgpu: Adjust error inject function code style in amdgpu_ras.c
1. Move xgmi special error inject function from amdgpu_ras.c to xgmi block.
2. Support to use psp_ras_trigger_error as default error inject function in amdgpu_ras.c. If .ras_error_inject isn't defined in ras block, default error inject function will take effect.
v2: squash in warning fix (Alex)
Signed-off-by: yipechai <YiPeng.Chai@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Reviewed-by: John Clements <john.clements@amd.com>
Reviewed-by: Tao Zhou <tao.zhou1@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
