]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: fix unnecessary pipe split playing NV12 1080p MPO video
authorSamson Tam <Samson.Tam@amd.com>
Mon, 11 Apr 2022 19:38:48 +0000 (15:38 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 12 Jul 2022 20:50:29 +0000 (16:50 -0400)
commit2926ed7b88c1eb1371408d6f429ab3cd0cb0b75c
tree0fa5875f416ed0294197e67972882733f303bd91
parent9b75b914eec251298207164025c1bd51a33a0039
drm/amd/display: fix unnecessary pipe split playing NV12 1080p MPO video

[Why]
When playing NV12 1080p MPO video, it is pipe splitting so
we see two pipes in fullscreen and four pipes in windowed
mode. Pipe split is happening because we are setting
MaximumMPCCombine = 1

[How]
Algorithm for MaximumMPCCombine has extra conditions we do
not need.  Use DCN31 algorithm instead

Signed-off-by: Samson Tam <Samson.Tam@amd.com>
Reviewed-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dml/dcn32/display_mode_vba_32.c