drm/amdgpu: switch to amdgpu_ras_late_init for sdma v4 block (v2)
authorHawking Zhang <Hawking.Zhang@amd.com>
Thu, 29 Aug 2019 11:30:02 +0000 (19:30 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 13 Sep 2019 22:11:04 +0000 (17:11 -0500)
commit7d0a31e8cc3bd51cd2d33931d72a0513020c5d0a
treee3cd82e711f8e7bf9305f0a7c2c20a4ac0c45694
parent63fa48db49c29e0dcbe182a1982997bf13c02721
drm/amdgpu: switch to amdgpu_ras_late_init for sdma v4 block (v2)

call helper function in late init phase to handle ras init
for sdma 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/sdma_v4_0.c