* [PATCH] drm/amd/pm: add smu pp_feature_mask callback for smu_v13_0_7
@ 2022-05-10 18:00 Yang Wang
2022-05-10 18:24 ` Deucher, Alexander
2022-05-11 0:56 ` 答复: " Feng, Kenneth
0 siblings, 2 replies; 3+ messages in thread
From: Yang Wang @ 2022-05-10 18:00 UTC (permalink / raw)
To: amd-gfx; +Cc: Yang Wang
- set_pp_feature_mask
- get_pp_feature_mask
the pp_feature device node isn't working when
above callback functions aren't provided.
Signed-off-by: Yang Wang <KevinYang.Wang@amd.com>
---
drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_7_ppt.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_7_ppt.c b/drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_7_ppt.c
index 583a96784558..00964b3728fe 100644
--- a/drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_7_ppt.c
+++ b/drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_7_ppt.c
@@ -1500,6 +1500,8 @@ static const struct pptable_funcs smu_v13_0_7_ppt_funcs = {
.get_power_profile_mode = smu_v13_0_7_get_power_profile_mode,
.set_power_profile_mode = smu_v13_0_7_set_power_profile_mode,
.set_tool_table_location = smu_v13_0_set_tool_table_location,
+ .get_pp_feature_mask = smu_cmn_get_pp_feature_mask,
+ .set_pp_feature_mask = smu_cmn_set_pp_feature_mask,
};
void smu_v13_0_7_set_ppt_funcs(struct smu_context *smu)
--
2.25.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] drm/amd/pm: add smu pp_feature_mask callback for smu_v13_0_7
2022-05-10 18:00 [PATCH] drm/amd/pm: add smu pp_feature_mask callback for smu_v13_0_7 Yang Wang
@ 2022-05-10 18:24 ` Deucher, Alexander
2022-05-11 0:56 ` 答复: " Feng, Kenneth
1 sibling, 0 replies; 3+ messages in thread
From: Deucher, Alexander @ 2022-05-10 18:24 UTC (permalink / raw)
To: Wang, Yang(Kevin), amd-gfx
[-- Attachment #1: Type: text/plain, Size: 1514 bytes --]
[Public]
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
________________________________
From: amd-gfx <amd-gfx-bounces@lists.freedesktop.org> on behalf of Yang Wang <KevinYang.Wang@amd.com>
Sent: Tuesday, May 10, 2022 2:00 PM
To: amd-gfx@lists.freedesktop.org <amd-gfx@lists.freedesktop.org>
Cc: Wang, Yang(Kevin) <KevinYang.Wang@amd.com>
Subject: [PATCH] drm/amd/pm: add smu pp_feature_mask callback for smu_v13_0_7
- set_pp_feature_mask
- get_pp_feature_mask
the pp_feature device node isn't working when
above callback functions aren't provided.
Signed-off-by: Yang Wang <KevinYang.Wang@amd.com>
---
drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_7_ppt.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_7_ppt.c b/drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_7_ppt.c
index 583a96784558..00964b3728fe 100644
--- a/drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_7_ppt.c
+++ b/drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_7_ppt.c
@@ -1500,6 +1500,8 @@ static const struct pptable_funcs smu_v13_0_7_ppt_funcs = {
.get_power_profile_mode = smu_v13_0_7_get_power_profile_mode,
.set_power_profile_mode = smu_v13_0_7_set_power_profile_mode,
.set_tool_table_location = smu_v13_0_set_tool_table_location,
+ .get_pp_feature_mask = smu_cmn_get_pp_feature_mask,
+ .set_pp_feature_mask = smu_cmn_set_pp_feature_mask,
};
void smu_v13_0_7_set_ppt_funcs(struct smu_context *smu)
--
2.25.1
[-- Attachment #2: Type: text/html, Size: 2691 bytes --]
^ permalink raw reply related [flat|nested] 3+ messages in thread
* 答复: [PATCH] drm/amd/pm: add smu pp_feature_mask callback for smu_v13_0_7
2022-05-10 18:00 [PATCH] drm/amd/pm: add smu pp_feature_mask callback for smu_v13_0_7 Yang Wang
2022-05-10 18:24 ` Deucher, Alexander
@ 2022-05-11 0:56 ` Feng, Kenneth
1 sibling, 0 replies; 3+ messages in thread
From: Feng, Kenneth @ 2022-05-11 0:56 UTC (permalink / raw)
To: Wang, Yang(Kevin), amd-gfx; +Cc: Wang, Yang(Kevin)
[-- Attachment #1: Type: text/plain, Size: 1579 bytes --]
[AMD Official Use Only - General]
Reviewed-by: Kenneth Feng <kenneth.feng@amd.com<mailto:kenneth.feng@amd.com>>
Best wishes
Kenneth Feng
发件人: amd-gfx <amd-gfx-bounces@lists.freedesktop.org> 代表 Yang Wang <KevinYang.Wang@amd.com>
日期: 星期三, 2022年5月11日 02:01
收件人: amd-gfx@lists.freedesktop.org <amd-gfx@lists.freedesktop.org>
抄送: Wang, Yang(Kevin) <KevinYang.Wang@amd.com>
主题: [PATCH] drm/amd/pm: add smu pp_feature_mask callback for smu_v13_0_7
[CAUTION: External Email]
- set_pp_feature_mask
- get_pp_feature_mask
the pp_feature device node isn't working when
above callback functions aren't provided.
Signed-off-by: Yang Wang <KevinYang.Wang@amd.com>
---
drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_7_ppt.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_7_ppt.c b/drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_7_ppt.c
index 583a96784558..00964b3728fe 100644
--- a/drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_7_ppt.c
+++ b/drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_7_ppt.c
@@ -1500,6 +1500,8 @@ static const struct pptable_funcs smu_v13_0_7_ppt_funcs = {
.get_power_profile_mode = smu_v13_0_7_get_power_profile_mode,
.set_power_profile_mode = smu_v13_0_7_set_power_profile_mode,
.set_tool_table_location = smu_v13_0_set_tool_table_location,
+ .get_pp_feature_mask = smu_cmn_get_pp_feature_mask,
+ .set_pp_feature_mask = smu_cmn_set_pp_feature_mask,
};
void smu_v13_0_7_set_ppt_funcs(struct smu_context *smu)
--
2.25.1
[-- Attachment #2: Type: text/html, Size: 6769 bytes --]
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2022-05-11 0:56 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-10 18:00 [PATCH] drm/amd/pm: add smu pp_feature_mask callback for smu_v13_0_7 Yang Wang
2022-05-10 18:24 ` Deucher, Alexander
2022-05-11 0:56 ` 答复: " Feng, Kenneth
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.