]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: removed unnecessary check when dpp clock increasing
authorChiawen Huang <chiawen.huang@amd.com>
Mon, 14 Dec 2020 05:41:43 +0000 (13:41 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 14 Jan 2021 04:43:30 +0000 (23:43 -0500)
commitc64bbc8ee755882b1cbf5b74f348e7a99c0b4417
tree57c37338a7ac548d116c6d89fcebfe971f6f02ca
parent391a64f9c75be0bee4d0b7fa706df0876ae71c32
drm/amd/display: removed unnecessary check when dpp clock increasing

[Why]
When switching single pipe to split pipe, the bandwidth check is just
for first pipe.  The 2nd pipe with abnormal(or zero) dpp clock when pipe
ready and unlock leads the garbage on display.

[How]
Removed external increasing dpp clock check, the internal function
already loops all of pipes to check whether update dpp clock.

Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Chiawen Huang <chiawen.huang@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/clk_mgr/dcn20/dcn20_clk_mgr.c