mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 23:24:22 -04:00
drm/amd/powerplay: allow slow switch only if NBPState enabled
Otherwise there may be potential SMU performance issues. Signed-off-by: Evan Quan <evan.quan@amd.com> Reviewed-by: Rex Zhu <Rex.Zhu@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
5d923a6928
commit
16ed0ff275
1 changed files with 2 additions and 1 deletions
|
|
@ -1896,7 +1896,8 @@ static int vega20_notify_smc_display_config_after_ps_adjustment(
|
|||
int ret = 0;
|
||||
|
||||
if ((hwmgr->display_config->num_display > 1) &&
|
||||
!hwmgr->display_config->multi_monitor_in_sync)
|
||||
!hwmgr->display_config->multi_monitor_in_sync &&
|
||||
!hwmgr->display_config->nb_pstate_switch_disable)
|
||||
vega20_notify_smc_display_change(hwmgr, false);
|
||||
else
|
||||
vega20_notify_smc_display_change(hwmgr, true);
|
||||
|
|
|
|||
Loading…
Reference in a new issue