Skip to contentSkip to conversation

drm/amd/pm: Remove SMUv13.0.6 unsupported feature

PATCH In review Lijo Lazar 3 participants 3 messages Sep 14, 2023

Subsystems (3)
lore
Share & tools
lore

Lijo Lazar

author
#0 lore raw

PATCH 1/1 drm/amd/pm: Remove SMUv13.0.6 unsupported feature

Selectively updating feature mask is not supported in SMU v13.0.6. Remove the callback corresponding to that.

---
 drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_6_ppt.c | 1 -
 1 file changed, 1 deletion(-)
drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_6_ppt.c +0 -1
index 94b0a7226ba4..4ba6790cac5a 100644
@@ -2222,7 +2222,6 @@ static const struct pptable_funcs smu_v13_0_6_ppt_funcs = {
 	.allow_xgmi_power_down = smu_v13_0_6_allow_xgmi_power_down,
 	.log_thermal_throttling_event = smu_v13_0_6_log_thermal_throttling_event,
 	.get_pp_feature_mask = smu_cmn_get_pp_feature_mask,
-	.set_pp_feature_mask = smu_cmn_set_pp_feature_mask,
 	.get_gpu_metrics = smu_v13_0_6_get_gpu_metrics,
 	.get_thermal_temperature_range = smu_v13_0_6_get_thermal_temperature_range,
 	.mode1_reset_is_support = smu_v13_0_6_is_mode1_reset_supported,
Signature · 1 line
2.25.1
Acked-by on v1 1/1
#1 lore raw
Quoted 5 lines · Lijo Lazar

Selectively updating feature mask is not supported in SMU v13.0.6. Remove the callback corresponding to that.

Quoted 19 lines
---
 drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_6_ppt.c | 1 -
 1 file changed, 1 deletion(-)
drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_6_ppt.c +0 -2
index 94b0a7226ba4..4ba6790cac5a 100644
@@ -2222,7 +2222,6 @@ static const struct pptable_funcs smu_v13_0_6_ppt_funcs = {
        .allow_xgmi_power_down = smu_v13_0_6_allow_xgmi_power_down,
        .log_thermal_throttling_event = smu_v13_0_6_log_thermal_throttling_event,
        .get_pp_feature_mask = smu_cmn_get_pp_feature_mask,
-       .set_pp_feature_mask = smu_cmn_set_pp_feature_mask,
        .get_gpu_metrics = smu_v13_0_6_get_gpu_metrics,
        .get_thermal_temperature_range = smu_v13_0_6_get_thermal_temperature_range,
        .mode1_reset_is_support = smu_v13_0_6_is_mode1_reset_supported,
--

2.25.1

Reviewed-by on v1 1/1
#2 lore raw
In reply to Lijo Lazar

[AMD Official Use Only - General]

Best Regards,
Kevin

-----Original Message-----
From: Lazar, Lijo <[email protected]>
Sent: Thursday, September 14, 2023 9:06 PM
To: [email protected]
Cc: Zhang, Hawking <[email protected]>; Deucher, Alexander <[email protected]>; Kamal, Asad <[email protected]>; Wang, Yang(Kevin) <[email protected]>
Subject: [PATCH] drm/amd/pm: Remove SMUv13.0.6 unsupported feature

Selectively updating feature mask is not supported in SMU v13.0.6. Remove the callback corresponding to that.

---
 drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_6_ppt.c | 1 -
 1 file changed, 1 deletion(-)
drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_6_ppt.c +0 -1
index 94b0a7226ba4..4ba6790cac5a 100644
@@ -2222,7 +2222,6 @@ static const struct pptable_funcs smu_v13_0_6_ppt_funcs = {
        .allow_xgmi_power_down = smu_v13_0_6_allow_xgmi_power_down,
        .log_thermal_throttling_event = smu_v13_0_6_log_thermal_throttling_event,
        .get_pp_feature_mask = smu_cmn_get_pp_feature_mask,
-       .set_pp_feature_mask = smu_cmn_set_pp_feature_mask,
        .get_gpu_metrics = smu_v13_0_6_get_gpu_metrics,
        .get_thermal_temperature_range = smu_v13_0_6_get_thermal_temperature_range,
        .mode1_reset_is_support = smu_v13_0_6_is_mode1_reset_supported,

--
2.25.1