Skip to contentSkip to conversation

drm/amd/powerplay: modify the parameters of SMU_MSG_PowerUpVcn to 0

PATCH In review chen gong 3 participants 3 messages Oct 24, 2019 – Oct 25, 2019 2 messages not in the archive

Subsystems (2)
lore
Share & tools
lore

chen gong

author
#0 lore raw

PATCH 1/1 drm/amd/powerplay: modify the parameters of SMU_MSG_PowerUpVcn to 0

The parameters what SMU_MSG_PowerUpVcn need is 0, not 1

---
 drivers/gpu/drm/amd/powerplay/renoir_ppt.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/powerplay/renoir_ppt.c +1 -1
index 45c5f54..4a97519 100644
@@ -282,7 +282,7 @@ static int renoir_dpm_set_uvd_enable(struct smu_context *smu, bool enable)
 	if (enable) {
 		/* vcn dpm on is a prerequisite for vcn power gate messages */
 		if (smu_feature_is_enabled(smu, SMU_FEATURE_VCN_PG_BIT)) {
-			ret = smu_send_smc_msg_with_param(smu, SMU_MSG_PowerUpVcn, 1);
+			ret = smu_send_smc_msg_with_param(smu, SMU_MSG_PowerUpVcn, 0);
 			if (ret)
 				return ret;
 		}
Signature · 6 lines
2.7.4

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

A message that is not in the archive (sent off-list or not yet received): 1571907564-18087-1-git-send-email-curry.gong-5C7GfCeVMHo@public.gmane.org

Reviewed-by Aaron Liu
#2 lore raw

BR,
Aaron Liu

Quoted 38 lines

-----Original Message-----
From: amd-gfx <[email protected]> On Behalf Of chen gong
Sent: Thursday, October 24, 2019 4:59 PM
To: [email protected]
Cc: Gong, Curry <[email protected]>
Subject: [PATCH] drm/amd/powerplay: modify the parameters of SMU_MSG_PowerUpVcn to 0

The parameters what SMU_MSG_PowerUpVcn need is 0, not 1

---
 drivers/gpu/drm/amd/powerplay/renoir_ppt.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/powerplay/renoir_ppt.c +0 -1
index 45c5f54..4a97519 100644
@@ -282,7 +282,7 @@ static int renoir_dpm_set_uvd_enable(struct
 smu_context *smu, bool enable)
 	if (enable) {
 		/* vcn dpm on is a prerequisite for vcn power gate messages
 */
 		if (smu_feature_is_enabled(smu,
 SMU_FEATURE_VCN_PG_BIT)) {
-			ret = smu_send_smc_msg_with_param(smu,

SMU_MSG_PowerUpVcn, 1);

drivers/gpu/drm/amd/powerplay/renoir_ppt.c +1 -0
+			ret = smu_send_smc_msg_with_param(smu,

SMU_MSG_PowerUpVcn, 0);

drivers/gpu/drm/amd/powerplay/renoir_ppt.c +0 -1
 			if (ret)
 				return ret;
 		}
--

2.7.4

Quoted 4 lines

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

A message that is not in the archive (sent off-list or not yet received): MN2PR12MB3838E06D487F8BE6792A9569F06A0-rweVpJHSKTrcE+Ck/[email protected]

Acked-by Evan Quan Reviewed-by Aaron Liu
#4 lore raw

-----Original Message-----
From: amd-gfx <[email protected]> On Behalf Of Liu, Aaron
Sent: Thursday, October 24, 2019 5:13 PM
To: Gong, Curry <[email protected]>; [email protected]
Cc: Gong, Curry <[email protected]>
Subject: RE: [PATCH] drm/amd/powerplay: modify the parameters of SMU_MSG_PowerUpVcn to 0

BR,
Aaron Liu

Quoted 37 lines

-----Original Message-----
From: amd-gfx <[email protected]> On Behalf Of chen gong
Sent: Thursday, October 24, 2019 4:59 PM
To: [email protected]
Cc: Gong, Curry <[email protected]>
Subject: [PATCH] drm/amd/powerplay: modify the parameters of SMU_MSG_PowerUpVcn to 0

The parameters what SMU_MSG_PowerUpVcn need is 0, not 1

---
 drivers/gpu/drm/amd/powerplay/renoir_ppt.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/powerplay/renoir_ppt.c +1 -1
index 45c5f54..4a97519 100644
@@ -282,7 +282,7 @@ static int renoir_dpm_set_uvd_enable(struct 
 smu_context *smu, bool enable)
 	if (enable) {
 		/* vcn dpm on is a prerequisite for vcn power gate messages */
 		if (smu_feature_is_enabled(smu,
 SMU_FEATURE_VCN_PG_BIT)) {
-			ret = smu_send_smc_msg_with_param(smu,
 SMU_MSG_PowerUpVcn, 1);
+			ret = smu_send_smc_msg_with_param(smu,

SMU_MSG_PowerUpVcn, 0);

drivers/gpu/drm/amd/powerplay/renoir_ppt.c +0 -1
 			if (ret)
 				return ret;
 		}
--

2.7.4

Quoted 4 lines

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx