OSDN Git Service

drm/amdgpu/soc21: add mode2 asic reset for SMU IP v13.0.11
authorTim Huang <tim.huang@amd.com>
Mon, 24 Oct 2022 02:32:05 +0000 (10:32 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 29 Nov 2022 16:03:37 +0000 (11:03 -0500)
Set the default reset method to mode2 for SMU IP v13.0.11

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

index 69dac2a..ba11e06 100644 (file)
@@ -325,6 +325,7 @@ soc21_asic_reset_method(struct amdgpu_device *adev)
        case IP_VERSION(13, 0, 10):
                return AMD_RESET_METHOD_MODE1;
        case IP_VERSION(13, 0, 4):
+       case IP_VERSION(13, 0, 11):
                return AMD_RESET_METHOD_MODE2;
        default:
                if (amdgpu_dpm_is_baco_supported(adev))