[PATCH] drm/amdgpu/soc21: add mode2 asic reset for SMU IP v14.0.0

Zhang, Yifan Yifan1.Zhang at amd.com
Thu Oct 26 14:33:25 UTC 2023


[AMD Official Use Only - General]

This patch is:

Reviewed-by: Yifan Zhang <yifan1.zhang at amd.com>

-----Original Message-----
From: amd-gfx <amd-gfx-bounces at lists.freedesktop.org> On Behalf Of jiadong.zhu at amd.com
Sent: Thursday, October 26, 2023 5:41 PM
To: amd-gfx at lists.freedesktop.org
Cc: Zhu, Jiadong <Jiadong.Zhu at amd.com>
Subject: [PATCH] drm/amdgpu/soc21: add mode2 asic reset for SMU IP v14.0.0

From: Jiadong Zhu <Jiadong.Zhu at amd.com>

Set the default reset method to mode2 for SMU IP v14.0.0

Signed-off-by: Jiadong Zhu <Jiadong.Zhu at amd.com>
---
 drivers/gpu/drm/amd/amdgpu/soc21.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/gpu/drm/amd/amdgpu/soc21.c b/drivers/gpu/drm/amd/amdgpu/soc21.c
index 8c6cab641a1c..ebf99406e634 100644
--- a/drivers/gpu/drm/amd/amdgpu/soc21.c
+++ b/drivers/gpu/drm/amd/amdgpu/soc21.c
@@ -381,6 +381,7 @@ soc21_asic_reset_method(struct amdgpu_device *adev)
                return AMD_RESET_METHOD_MODE1;
        case IP_VERSION(13, 0, 4):
        case IP_VERSION(13, 0, 11):
+       case IP_VERSION(14, 0, 0):
                return AMD_RESET_METHOD_MODE2;
        default:
                if (amdgpu_dpm_is_baco_supported(adev))
--
2.25.1



More information about the amd-gfx mailing list