projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f74aa69
)
drm/amd/powerplay: correct smc display config for multi monitor
author
Evan Quan
<
[email protected]
>
Wed, 20 Jun 2018 04:24:29 +0000
(12:24 +0800)
committer
Alex Deucher
<
[email protected]
>
Thu, 5 Jul 2018 21:38:54 +0000
(16:38 -0500)
Need to take into account multi-head with synced displays.
Signed-off-by: Evan Quan <
[email protected]
>
Acked-by: Alex Deucher <
[email protected]
>
Signed-off-by: Alex Deucher <
[email protected]
>
drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c
b/drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c
index 8176b231c38b1412fda2acaa8c9d0ca2a5e594f0..824d9e15d7127cbf53b2d2e5e2f60c11c3838fca 100644
(file)
--- 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);