]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Set clock optimization required after update clocks
authorSung Lee <sung.lee@amd.com>
Fri, 21 Feb 2020 19:50:55 +0000 (14:50 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 5 Mar 2020 05:30:45 +0000 (00:30 -0500)
commit2a48ce19aae27680acd9d1fc5e3e41fe9ba62f2e
treeed952e0a0738b333b513470595a3bf6dc08d9c57
parentf39553db899c607ccc6a047e5a9e390bdc436adf
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: Sung Lee <sung.lee@amd.com>
Reviewed-by: Tony Cheng <Tony.Cheng@amd.com>
Acked-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hwseq.c