diff options
author | Yongqiang Sun <[email protected]> | 2018-02-28 17:14:50 -0500 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2018-03-14 15:16:34 -0500 |
commit | 45bb8dd696eaff9c96afd2b210f0d8cf5025dd65 (patch) | |
tree | da8602a53412e46bf5f0555f038503dac4269b47 /drivers/mtd/lpddr/lpddr_cmds.c | |
parent | 5231f5d1124eef853573cb3d2e3dc3c4ddc43e22 (diff) |
drm/amd/display: Set disp clk in a safe way to avoid over high dpp clk. (v2)
Increase clock, if current dpp div is 0 and request dpp div is 1, request clk is
higher than maximum dpp clk as per dpm table.
set dispclk to the value of maximum supported dpp clk
set div to 1
set dispclk to request value.
Decrease clock, currrent dpp div is 1 and request dpp div is 0, current clk is
higher than maximum dpp clk as per dpm table.
set dispclk to the value of maximum supported dpp clk
set div to 0
set dispclk to request value.
v2: squash in !DCN build fix
Signed-off-by: Yongqiang Sun <[email protected]>
Reviewed-by: Tony Cheng <[email protected]>
Reviewed-by: Dmytro Laktyushkin <[email protected]>
Acked-by: Harry Wentland <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/mtd/lpddr/lpddr_cmds.c')
0 files changed, 0 insertions, 0 deletions