drm/amdgpu: switch to amdgpu_ras_late_init for gfx v9 block (v2)
authorHawking Zhang <Hawking.Zhang@amd.com>
Thu, 29 Aug 2019 11:15:16 +0000 (19:15 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 13 Sep 2019 22:11:04 +0000 (17:11 -0500)
commit63fa48db49c29e0dcbe182a1982997bf13c02721
tree91b201388bc0aa6e532a66ff7e63f42bd3225958
parentb293e891b05701fc89fa2b20bba377513ae92021
drm/amdgpu: switch to amdgpu_ras_late_init for gfx v9 block (v2)

call helper function in late init phase to handle ras init
for gfx ip block

v2: call ras_late_fini to do clean up when fail to enable interrupt

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