aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/soc21.c
diff options
context:
space:
mode:
authorTim Huang <[email protected]>2024-05-14 08:41:48 +0000
committerAlex Deucher <[email protected]>2024-07-02 22:07:02 +0000
commitb709f949f0e5576cd5e8949bfd21474f60ba3df5 (patch)
treecc998175f375de6151df60f7e962238b186298ec /drivers/gpu/drm/amd/amdgpu/soc21.c
parentdrm/amdgpu: add SMU IP v14.0.4 discovery support (diff)
downloadkernel-b709f949f0e5576cd5e8949bfd21474f60ba3df5.tar.gz
kernel-b709f949f0e5576cd5e8949bfd21474f60ba3df5.zip
drm/amdgpu: enable mode2 reset for SMU IP v14.0.4
Set the default reset method to mode2 for SMU 14.0.4. Signed-off-by: Tim Huang <[email protected]> Reviewed-by: Yifan Zhang <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/soc21.c')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/soc21.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/soc21.c b/drivers/gpu/drm/amd/amdgpu/soc21.c
index b43c50f1c7ad..6cc86d13f32a 100644
--- a/drivers/gpu/drm/amd/amdgpu/soc21.c
+++ b/drivers/gpu/drm/amd/amdgpu/soc21.c
@@ -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))