diff options
author | Evan Quan <evan.quan@amd.com> | 2018-06-20 12:24:29 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2018-07-05 16:38:54 -0500 |
commit | ac32b06acee88ab4c9f3336be5aea4a050b0d4e5 (patch) | |
tree | ce9227d3d6ee2f2762690d4af492956124a6ef2f | |
parent | f74aa69d0aed89b5ea283f4a6f86f0505407021e (diff) | |
download | lwn-ac32b06acee88ab4c9f3336be5aea4a050b0d4e5.tar.gz lwn-ac32b06acee88ab4c9f3336be5aea4a050b0d4e5.zip |
drm/amd/powerplay: correct smc display config for multi monitor
Need to take into account multi-head with synced displays.
Signed-off-by: Evan Quan <evan.quan@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
-rw-r--r-- | drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c b/drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c index 8176b231c38b..824d9e15d712 100644 --- a/drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c +++ b/drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c @@ -1401,7 +1401,8 @@ static int vega12_notify_smc_display_config_after_ps_adjustment( struct pp_display_clock_request clock_req; uint32_t clk_request; - if (hwmgr->display_config->num_display > 1) + if ((hwmgr->display_config->num_display > 1) && + !hwmgr->display_config->multi_monitor_in_sync) vega12_notify_smc_display_change(hwmgr, false); else vega12_notify_smc_display_change(hwmgr, true); |