drm/amdgpu: reorganize RAS injection flow
authorTao Zhou <tao.zhou1@amd.com>
Mon, 13 Mar 2023 08:24:11 +0000 (16:24 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 9 Jun 2023 14:37:13 +0000 (10:37 -0400)
commit27c5f29526d17a33946a6b977a0274eae320c489
tree79dbe5346d74526c9789877e247dc6dcebf184c1
parent2c22ed0bdb0cb6da9408593eafa6137325576017
drm/amdgpu: reorganize RAS injection flow

So GFX RAS injection could use default function if it doesn't define its
own injection interface.

Signed-off-by: Tao Zhou <tao.zhou1@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Reviewed-by: Stanley.Yang <Stanley.Yang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c