drm/amd/pp: Fix performance drop on Fiji
Subsystems (2)
PATCH 1/1 drm/amd/pp: Fix performance drop on Fiji
the performance drop happened on default TDP more than 256 Watt
--- drivers/gpu/drm/amd/powerplay/hwmgr/smu7_powertune.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)
drivers/gpu/drm/amd/powerplay/hwmgr/smu7_powertune.c +1 -3
@@ -1042,12 +1042,10 @@ int smu7_set_power_limit(struct pp_hwmgr *hwmgr, uint32_t n) {struct smu7_hwmgr *data = (struct smu7_hwmgr *)(hwmgr->backend); - n = (n &0xff ) <<8 ; -if (data->power_containment_features & POWERCONTAINMENT_FEATURE_PkgPwrLimit)return smum_send_msg_to_smc_with_parameter (hwmgr, - PPSMC_MSG_PkgPwrSetLimit, n); + PPSMC_MSG_PkgPwrSetLimit, n<<8 );return 0 ; }
Signature · 6 lines
1.9.1 _______________________________________________ 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): 1525953550-26077-1-git-send-email-Rex.Zhu-5C7GfCeVMHo@public.gmane.org
Alex Deucher
Reviewed-byQuoted 3 lines · Rex Zhu
the performance drop happened on default TDP more than 256 Watt
Signed-off-by Rex Zhu <[email protected]>
Quoted 25 lines
--- drivers/gpu/drm/amd/powerplay/hwmgr/smu7_powertune.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)drivers/gpu/drm/amd/powerplay/hwmgr/smu7_powertune.c +1
-4@@ -1042,12 +1042,10 @@ int smu7_set_power_limit(struct pp_hwmgr *hwmgr, uint32_t n) {struct smu7_hwmgr *data = (struct smu7_hwmgr *)(hwmgr->backend); - n = (n &0xff ) <<8 ; -if (data->power_containment_features & POWERCONTAINMENT_FEATURE_PkgPwrLimit)return smum_send_msg_to_smc_with_parameter (hwmgr, - PPSMC_MSG_PkgPwrSetLimit, n); + PPSMC_MSG_PkgPwrSetLimit, n<<8 );return 0 ; } --1.9.1
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
Zhang, Jerry
Reviewed-by Junwei ZhangRegards,
Jerry(Junwei Zhang)
________________________________________
From: amd-gfx <[email protected]> on behalf of Rex Zhu <[email protected]>
Sent: Thursday, May 10, 2018 7:59:10 PM
To: [email protected]
Cc: Zhu, Rex
Subject: [PATCH] drm/amd/pp: Fix performance drop on Fiji
the performance drop happened on default TDP more than 256 Watt
--- drivers/gpu/drm/amd/powerplay/hwmgr/smu7_powertune.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)
drivers/gpu/drm/amd/powerplay/hwmgr/smu7_powertune.c +1 -3
@@ -1042,12 +1042,10 @@ int smu7_set_power_limit(struct pp_hwmgr *hwmgr, uint32_t n) {struct smu7_hwmgr *data = (struct smu7_hwmgr *)(hwmgr->backend); - n = (n &0xff ) <<8 ; -if (data->power_containment_features & POWERCONTAINMENT_FEATURE_PkgPwrLimit)return smum_send_msg_to_smc_with_parameter (hwmgr, - PPSMC_MSG_PkgPwrSetLimit, n); + PPSMC_MSG_PkgPwrSetLimit, n<<8 );return 0 ; }
--
1.9.1
_______________________________________________
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