diff options
author | yipechai <YiPeng.Chai@amd.com> | 2022-01-05 15:40:26 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2022-01-14 17:52:00 -0500 |
commit | 22d4ba53b1c10de6832e588f01d916e24306f6a1 (patch) | |
tree | f35c48f1507ec585a9cd5de1185679d06e286e17 /drivers/gpu/drm/lib/drm_random.c | |
parent | b0e2062dc8978869c1dd96d92027f74b361d5eb7 (diff) |
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 'drivers/gpu/drm/lib/drm_random.c')
0 files changed, 0 insertions, 0 deletions