Commit ffa12141 authored by Sung Lee's avatar Sung Lee Committed by Alex Deucher

drm/amd/display: Set clock optimization required after update clocks

[WHY]
We see an issue that caused clk_optimized_required to be set true in
certain cases, causing passive flips to fail. This is because of a typo
where wm_optimized_required was set twice.

[HOW]
Set clk_optimized_required to false after updating clocks.
Signed-off-by: default avatarSung Lee <sung.lee@amd.com>
Reviewed-by: default avatarTony Cheng <Tony.Cheng@amd.com>
Acked-by: default avatarRodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 8f174fdb
...@@ -1674,7 +1674,7 @@ void dcn20_optimize_bandwidth( ...@@ -1674,7 +1674,7 @@ void dcn20_optimize_bandwidth(
dc->clk_mgr, dc->clk_mgr,
context, context,
true); true);
dc->wm_optimized_required = false; dc->clk_optimized_required = false;
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment