drm/amdgpu: Optimize gfx ras block initialization code for gfx v9_0
authorYiPeng Chai <YiPeng.Chai@amd.com>
Wed, 11 Jan 2023 02:40:14 +0000 (10:40 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 17 Jan 2023 21:11:52 +0000 (16:11 -0500)
commit4da9932efe84c0cce852c91346d659ed36adacb1
tree05d61000e5de47e4baab54bb0e76ed08cfabc7fd
parent53a17b6b75eb87a0792e1ef7f5c45e8909585451
drm/amdgpu: Optimize gfx ras block initialization code for gfx v9_0

  Use gfx ras common initialization interface to
initialize gfx ras block.

V2:
  Update function call due to amdgpu_gfx_ras_sw_init
interface changes.

Signed-off-by: YiPeng Chai <YiPeng.Chai@amd.com>
Reviewed-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/gfx_v9_0.c