From: Alex Deucher <alexander.deucher@amd.com>
To: <amd-gfx@lists.freedesktop.org>
Cc: Alex Deucher <alexander.deucher@amd.com>,
Tim Huang <tim.huang@amd.com>, Huang Rui <ray.huang@amd.com>
Subject: [PATCH 5/8] drm/amdgpu/pm: enable swsmu for SMU IP v13.0.4
Date: Wed, 11 May 2022 23:22:44 -0400 [thread overview]
Message-ID: <20220512032247.528556-5-alexander.deucher@amd.com> (raw)
In-Reply-To: <20220512032247.528556-1-alexander.deucher@amd.com>
From: Tim Huang <tim.huang@amd.com>
Add the entry to set the ppt functions for SMU IP v13.0.4.
Signed-off-by: Tim Huang <tim.huang@amd.com>
Reviewed-by: Huang Rui <ray.huang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
---
drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c b/drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c
index 956062496202..ab32277f9108 100644
--- a/drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c
+++ b/drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c
@@ -38,6 +38,7 @@
#include "yellow_carp_ppt.h"
#include "cyan_skillfish_ppt.h"
#include "smu_v13_0_0_ppt.h"
+#include "smu_v13_0_4_ppt.h"
#include "smu_v13_0_5_ppt.h"
#include "smu_v13_0_7_ppt.h"
#include "amd_pcie.h"
@@ -550,6 +551,9 @@ static int smu_set_funcs(struct amdgpu_device *adev)
case IP_VERSION(13, 0, 8):
yellow_carp_set_ppt_funcs(smu);
break;
+ case IP_VERSION(13, 0, 4):
+ smu_v13_0_4_set_ppt_funcs(smu);
+ break;
case IP_VERSION(13, 0, 5):
smu_v13_0_5_set_ppt_funcs(smu);
break;
--
2.35.3
next prev parent reply other threads:[~2022-05-12 3:23 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-05-12 3:22 [PATCH 0/8] Add support for SMU v13.0.4 Alex Deucher
2022-05-12 3:22 ` [PATCH 2/8] drm/amdgpu/pm: add EnableGfxImu message dummy map for SMU IP v13.0.4 Alex Deucher
2022-05-12 3:22 ` [PATCH 3/8] drm/amdgpu/pm: add some common ppt functions for SMU IP v13.0.x Alex Deucher
2022-05-12 3:22 ` [PATCH 4/8] drm/amdgpu/pm: add swsmu ppt implementation for SMU IP v13.0.4 Alex Deucher
2022-05-12 3:22 ` Alex Deucher [this message]
2022-05-12 3:22 ` [PATCH 6/8] drm/amdgpu/pm: add GFXOFF control IP version check " Alex Deucher
2022-05-12 3:22 ` [PATCH 7/8] drm/amdgpu/discovery: add SMU v13.0.4 into the IP discovery list Alex Deucher
2022-05-12 3:22 ` [PATCH 8/8] drm/amdgpu/soc21: add mode2 asic reset for SMU IP v13.0.4 Alex Deucher
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=20220512032247.528556-5-alexander.deucher@amd.com \
--to=alexander.deucher@amd.com \
--cc=amd-gfx@lists.freedesktop.org \
--cc=ray.huang@amd.com \
--cc=tim.huang@amd.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.