OSDN Git Service

drm/amdgpu: switch to amdgpu_ras_late_init for gmc v9 block (v2)
authorHawking Zhang <Hawking.Zhang@amd.com>
Thu, 29 Aug 2019 11:35:50 +0000 (19:35 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 13 Sep 2019 22:11:05 +0000 (17:11 -0500)
commit2452e7783c7a6eb9dc6892b49be25988850962a0
tree1f545ecc1b6c8ab56dc520285fe9cc2a7ffeac27
parent7d0a31e8cc3bd51cd2d33931d72a0513020c5d0a
drm/amdgpu: switch to amdgpu_ras_late_init for gmc v9 block (v2)

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