drm/amdgpu: add mode2 reset support for smu 13.0.5
authorYifan Zhang <yifan1.zhang@amd.com>
Tue, 22 Feb 2022 08:22:05 +0000 (16:22 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 23 Feb 2022 19:26:36 +0000 (14:26 -0500)
This patch adds mode2 reset support for smu 13.0.5.

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

index 74e0550..80caf73 100644 (file)
@@ -454,6 +454,7 @@ nv_asic_reset_method(struct amdgpu_device *adev)
        case IP_VERSION(11, 5, 0):
        case IP_VERSION(13, 0, 1):
        case IP_VERSION(13, 0, 3):
+       case IP_VERSION(13, 0, 5):
                return AMD_RESET_METHOD_MODE2;
        case IP_VERSION(11, 0, 7):
        case IP_VERSION(11, 0, 11):