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:
7a572b1
)
drm/amdgpu/powerplay/smu7: drop refresh rate checks for mclk switching
author
Alex Deucher
<
[email protected]
>
Tue, 13 Feb 2018 19:37:36 +0000
(14:37 -0500)
committer
Alex Deucher
<
[email protected]
>
Mon, 19 Feb 2018 19:20:23 +0000
(14:20 -0500)
The logic has moved to cgs. mclk switching with DC at higher refresh
rates should work.
Reviewed-by: Eric Huang <
[email protected]
>
Signed-off-by: Alex Deucher <
[email protected]
>
Cc: Harry Wentland <
[email protected]
>
drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c
b/drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c
index 84600ff6f4de00bf46512365ed8a0ace89ff3834..0202841ae639cb3f406b3491b7d807e509b193b5 100644
(file)
--- a/
drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c
+++ b/
drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c
@@
-2909,8
+2909,7
@@
static int smu7_apply_state_adjust_rules(struct pp_hwmgr *hwmgr,
else
disable_mclk_switching = ((1 < info.display_count) ||
disable_mclk_switching_for_frame_lock ||
- smu7_vblank_too_short(hwmgr, mode_info.vblank_time_us) ||
- (mode_info.refresh_rate > 120));
+ smu7_vblank_too_short(hwmgr, mode_info.vblank_time_us));
sclk = smu7_ps->performance_levels[0].engine_clock;
mclk = smu7_ps->performance_levels[0].memory_clock;