drm/amdgpu: add RAS status query for gfx_v9_4_3
authorTao Zhou <tao.zhou1@amd.com>
Thu, 2 Feb 2023 09:20:23 +0000 (17:20 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 9 Jun 2023 14:37:29 +0000 (10:37 -0400)
commitbf16235b39d4ca9c8dd47ec1b2faded6ea58f7a2
tree3deff6083426a74d7990cba0cf570f535457e6ba
parentd78c71321ea963378cd3c5646ac6c6483d8d1a50
drm/amdgpu: add RAS status query for gfx_v9_4_3

Query GFX RAS status.

v2: remove xcp operation.
v3: change instance from 0 to xcc_id for register access.

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