drm/amdgpu: initialize RAS for gfx_v9_4_3
authorTao Zhou <tao.zhou1@amd.com>
Wed, 8 Feb 2023 09:05:08 +0000 (17:05 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 9 Jun 2023 14:37:50 +0000 (10:37 -0400)
commit92ecb92ccc839c4c4b51ab1025cde5dd82c2fb4b
treef941738490a152746222c8259424b2dca76b8e24
parent0386d52d1516d80b81a25552df74b8a82dfb77f3
drm/amdgpu: initialize RAS for gfx_v9_4_3

Register GFX RAS functions and initialize GFX RAS.

v2: remove xcp operations.
v3: reuse the return value of gfx_ras_sw_init.

Signed-off-by: Tao Zhou <tao.zhou1@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gfx_v9_4_3.c