drm/amdgpu/gmc: switch to amdgpu_gmc_ras_late_init helper function
authorHawking Zhang <Hawking.Zhang@amd.com>
Mon, 2 Sep 2019 21:24:35 +0000 (05:24 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 13 Sep 2019 22:41:36 +0000 (17:41 -0500)
commita85eff14da2c700ffcd68b3bf1a07f8a5deda624
treed343b259904fd1692d2410d41f382ec230000aa7
parentd094aea312580f12232b546523dae20f54445469
drm/amdgpu/gmc: switch to amdgpu_gmc_ras_late_init helper function

amdgpu_gmc_ras_late_init is used to init gmc specfic
ras debugfs/sysfs node and gmc specific interrupt handler.
It can be shared among gmc generations.

Signed-off-by: Hawking Zhang <Hawking.Zhang@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_gmc.c
drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.h
drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c