On 03-Feb-26 1:58 AM, Alex Deucher wrote:
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)

No FW version check required? Also, better to fork this out to a small function instead of repeating this in every case.

Thanks,
Lijo

+                       adev->sdma.supported_reset |= 
AMDGPU_RESET_TYPE_PER_QUEUE;
                break;
        }

Reply via email to