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)
commitae2175641abf3285b44af0ca4af89bd69c27b6c9
tree57c37338a7ac548d116c6d89fcebfe971f6f02ca
parentf8e792dc5c45d306a542b9ee991ae80e1c78e4c5
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