AMD-GFX Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Tim Huang <Tim.Huang@amd.com>
To: <amd-gfx@lists.freedesktop.org>
Cc: <Alexander.Deucher@amd.com>, <Yifan1.zhang@amd.com>,
	Tim Huang <Tim.Huang@amd.com>, Yifan Zhang <yifan1.zhang@amd.com>
Subject: [PATCH 6/7] drm/amdgpu: enable mode2 reset for SMU IP v14.0.4
Date: Sun, 30 Jun 2024 22:58:30 +0800	[thread overview]
Message-ID: <20240630145831.2023399-6-Tim.Huang@amd.com> (raw)
In-Reply-To: <20240630145831.2023399-1-Tim.Huang@amd.com>

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>
---
 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 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))
-- 
2.43.0


  parent reply	other threads:[~2024-06-30 14:59 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-06-30 14:58 [PATCH 1/7] drm/amdgpu: add PSP IP v14.0.4 support Tim Huang
2024-06-30 14:58 ` [PATCH 2/7] drm/amdgpu: add PSP IP v14.0.4 discovery support Tim Huang
2024-06-30 14:58 ` [PATCH 3/7] drm/amd/pm: smu v14.0.4 reuse smu v14.0.0 dpmtable Tim Huang
2024-06-30 14:58 ` [PATCH 4/7] drm/amd/pm: add SMU IP v14.0.4 support Tim Huang
2024-06-30 14:58 ` [PATCH 5/7] drm/amdgpu: add SMU IP v14.0.4 discovery support Tim Huang
2024-06-30 14:58 ` Tim Huang [this message]
2024-06-30 14:58 ` [PATCH 7/7] drm/amdgpu: add firmware for PSP IP v14.0.4 Tim Huang
2024-07-01 18:03   ` Deucher, Alexander

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240630145831.2023399-6-Tim.Huang@amd.com \
    --to=tim.huang@amd.com \
    --cc=Alexander.Deucher@amd.com \
    --cc=Yifan1.zhang@amd.com \
    --cc=amd-gfx@lists.freedesktop.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox