drm/amdgpu: add sq timeout status functions for gfx_v9_4_3
authorTao Zhou <tao.zhou1@amd.com>
Fri, 10 Feb 2023 10:41:28 +0000 (18:41 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 9 Jun 2023 14:37:47 +0000 (10:37 -0400)
commit0386d52d1516d80b81a25552df74b8a82dfb77f3
tree9dff5d44c39dfef2f41c8b96236df44128470b62
parent30feef0676092bdb4b8697e68b8d5864d54f096f
drm/amdgpu: add sq timeout status functions for gfx_v9_4_3

Query and reset sq timeout status.

v2: 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