]> www.infradead.org Git - nvme.git/commitdiff
drm/amdgpu: enable mode2 reset for SMU IP v14.0.4
authorTim Huang <Tim.Huang@amd.com>
Tue, 14 May 2024 08:41:48 +0000 (16:41 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 2 Jul 2024 22:07:02 +0000 (18:07 -0400)
Set the default reset method to mode2 for SMU 14.0.4.

Signed-off-by: Tim Huang <Tim.Huang@amd.com>
Reviewed-by: Yifan Zhang <yifan1.zhang@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/soc21.c

index b43c50f1c7ad55b338d9914307b874891ab3d55c..6cc86d13f32abb9b0d3edfe42cb2691144783fbc 100644 (file)
@@ -389,6 +389,7 @@ soc21_asic_reset_method(struct amdgpu_device *adev)
        case IP_VERSION(13, 0, 11):
        case IP_VERSION(14, 0, 0):
        case IP_VERSION(14, 0, 1):
+       case IP_VERSION(14, 0, 4):
                return AMD_RESET_METHOD_MODE2;
        default:
                if (amdgpu_dpm_is_baco_supported(adev))