drm/amd/powerplay: Set higher SCLK&MCLK frequency than dpm7 in OD
Subsystems (2)
PATCH 1/1 drm/amd/powerplay: Set higher SCLK&MCLK frequency than dpm7 in OD
Fix the issue that SCLK&MCLK can't be set higher than dpm7 when OD is enabled in SMU7.
--- drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)
drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c +4 -1
@@ -3762,7 +3762,10 @@ static int smu7_generate_dpm_level_enable_mask(const struct smu7_power_state *smu7_ps =cast_const_phw_smu7_power_state (states->pnew_state); - result =smu7_trim_dpm_states (hwmgr, smu7_ps); +/*skip the trim if od is enabled*/ +if (!hwmgr->od_enabled) + result =smu7_trim_dpm_states (hwmgr, smu7_ps); +if (result)return result;
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): 1528815253-14142-1-git-send-email-kenneth.feng-5C7GfCeVMHo@public.gmane.org
Zhu, Rex
Acked-by Rex ZhuBest Regards
Rex
________________________________
From: amd-gfx <amd-gfx-bounces-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org> on behalf of Kenneth Feng <[email protected]>
Sent: Tuesday, June 12, 2018 10:54 PM
To: [email protected]
Cc: Feng, Kenneth
Subject: [PATCH] drm/amd/powerplay: Set higher SCLK&MCLK frequency than dpm7 in OD
Fix the issue that SCLK&MCLK can't be set higher than dpm7 when OD is enabled in SMU7.
--- drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)
drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c +4 -1
@@ -3762,7 +3762,10 @@ static int smu7_generate_dpm_level_enable_mask(const struct smu7_power_state *smu7_ps =cast_const_phw_smu7_power_state (states->pnew_state); - result =smu7_trim_dpm_states (hwmgr, smu7_ps); +/*skip the trim if od is enabled*/ +if (!hwmgr->od_enabled) + result =smu7_trim_dpm_states (hwmgr, smu7_ps); +if (result)return result;
--
2.7.4
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
amd-gfx Info Page - freedesktop.org<https://lists.freedesktop.org/mailman/listinfo/amd-gfx>
lists.freedesktop.org
Subscribing to amd-gfx: Subscribe to amd-gfx by filling out the following form. Use of all freedesktop.org lists is subject to our Code of Conduct.
_______________________________________________
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): CY4PR12MB1687467F513BB24796B1FC63FB7F0-rpdhrqHFk06Y0SjTqZDccQdYzm3356FpvxpqHgZTriW3zl9H0oFU5g@public.gmane.org
________________________________
From: amd-gfx <amd-gfx-bounces-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org> on behalf of Zhu, Rex <[email protected]>
Sent: Tuesday, June 12, 2018 11:01:46 AM
To: Feng, Kenneth; [email protected]
Subject: Re: [PATCH] drm/amd/powerplay: Set higher SCLK&MCLK frequency than dpm7 in OD
Best Regards
Rex
________________________________
From: amd-gfx <amd-gfx-bounces-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org> on behalf of Kenneth Feng <[email protected]>
Sent: Tuesday, June 12, 2018 10:54 PM
To: [email protected]
Cc: Feng, Kenneth
Subject: [PATCH] drm/amd/powerplay: Set higher SCLK&MCLK frequency than dpm7 in OD
Fix the issue that SCLK&MCLK can't be set higher than dpm7 when OD is enabled in SMU7.
--- drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)
drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c +4 -1
@@ -3762,7 +3762,10 @@ static int smu7_generate_dpm_level_enable_mask(const struct smu7_power_state *smu7_ps =cast_const_phw_smu7_power_state (states->pnew_state); - result =smu7_trim_dpm_states (hwmgr, smu7_ps); +/*skip the trim if od is enabled*/ +if (!hwmgr->od_enabled) + result =smu7_trim_dpm_states (hwmgr, smu7_ps); +if (result)return result;
--
2.7.4
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
amd-gfx Info Page - freedesktop.org<https://lists.freedesktop.org/mailman/listinfo/amd-gfx>
lists.freedesktop.org
Subscribing to amd-gfx: Subscribe to amd-gfx by filling out the following form. Use of all freedesktop.org lists is subject to our Code of Conduct.
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx