drm/amdgpu: add mmhub ras_late_init callback function (v2)
authorHawking Zhang <Hawking.Zhang@amd.com>
Fri, 30 Aug 2019 05:34:38 +0000 (13:34 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 13 Sep 2019 22:11:05 +0000 (17:11 -0500)
commitdda79907a77bc6bb34412762925ff1d6d3e2a67a
tree6b3f828ff752101570a7087a6539a939b141ee1d
parent2452e7783c7a6eb9dc6892b49be25988850962a0
drm/amdgpu: add mmhub ras_late_init callback function (v2)

The function will be called in late init phase to do mmhub
ras init

v2: check ras_late_init function pointer before invoking the
function

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/amdgpu_mmhub.h
drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c
drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.c