]> 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)
commit7784591e6ca155fd4309dc29d555923d306ecd38
tree0fa5875f416ed0294197e67972882733f303bd91
parent947b23d8dc235f94cad62ed904b0f404383db9d4
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