drm/amdgpu/gfx10: add ring reset callbacks
authorAlex Deucher <alexander.deucher@amd.com>
Fri, 24 May 2024 16:37:50 +0000 (12:37 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 2 Sep 2024 15:40:38 +0000 (11:40 -0400)
commit1741281a157fcfacf46dbb6ce39c13bf2699d371
tree9255379998784dc41353d3d90915464afba6f03d
parenta10c93931b61b22ff6601f74192151d548b0b14b
drm/amdgpu/gfx10: add ring reset callbacks

Add ring reset callbacks for gfx and compute.

v2: fix gfx handling
v3: wait for KIQ to complete

Acked-by: Vitaly Prosyak <vitaly.prosyak@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c