Enable on the other SDMA 6.x ASICs.

Signed-off-by: Alex Deucher <[email protected]>
---
 drivers/gpu/drm/amd/amdgpu/sdma_v6_0.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/drivers/gpu/drm/amd/amdgpu/sdma_v6_0.c 
b/drivers/gpu/drm/amd/amdgpu/sdma_v6_0.c
index 35e00ebba0300..6f4704c1b3a10 100644
--- a/drivers/gpu/drm/amd/amdgpu/sdma_v6_0.c
+++ b/drivers/gpu/drm/amd/amdgpu/sdma_v6_0.c
@@ -1380,6 +1380,9 @@ static int sdma_v6_0_sw_init(struct amdgpu_ip_block 
*ip_block)
                        adev->sdma.supported_reset |= 
AMDGPU_RESET_TYPE_PER_QUEUE;
                break;
        default:
+               if (!amdgpu_sriov_vf(adev) &&
+                   !adev->debug_disable_gpu_ring_reset)
+                       adev->sdma.supported_reset |= 
AMDGPU_RESET_TYPE_PER_QUEUE;
                break;
        }
 
-- 
2.52.0

Reply via email to