OSDN Git Service

drm/amdgpu: switch to amdgpu_ras_late_init for nbio v7_4 (v2)
authorHawking Zhang <Hawking.Zhang@amd.com>
Thu, 29 Aug 2019 11:56:44 +0000 (19:56 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 13 Sep 2019 22:11:05 +0000 (17:11 -0500)
commit22e1d14fef714290c5ba3a516965c768378c8b63
tree5c5d5c67f8b16f1e463f3d8fdee3b2553d1cc27f
parent9ad1dc295b39ac725b56f7fdfeffd09de5a6dbce
drm/amdgpu: switch to amdgpu_ras_late_init for nbio v7_4 (v2)

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

v2: init local var r to 0 in case the function return failure
on asics that don't have ras_late_init implementation

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/soc15.c