]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Compare plane when looking for pipe split being lost
authorAlvin Lee <alvin.lee2@amd.com>
Fri, 28 Aug 2020 14:09:05 +0000 (10:09 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 15 Sep 2020 21:52:41 +0000 (17:52 -0400)
commitc70e9817f5a71c460eff26731ab1e4f54a158c12
treeda57676ba5b3cd3a2f5a5247dbc424db2a66d4d3
parentc9ca6d98962748caf2f64f52f6899b91bc84e929
drm/amd/display: Compare plane when looking for pipe split being lost

[Why]
There are situations where we go from 2 pipe to 1 pipe in MPO, but this
isn't a pipe split being lost -- it's a plane disappearing in (i.e. video overlay
goes away) so we lose one pipe. In these situations we don't want to
disable the pipe in a separate operation from the rest of the pipe
programming sequence. We only want to disable a pipe in a
separate operation when we're actually disabling pipe split.

[How]
Make sure the pipe being lost has the same stream AND plane
as the old top pipe to ensure.

Signed-off-by: Alvin Lee <alvin.lee2@amd.com>
Acked-by: Aurabindo Pillai <aurabindo.pillai@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c