drm/amd/display: allow windowed mpo + odm
authorDmytro Laktyushkin <Dmytro.Laktyushkin@amd.com>
Mon, 19 Jul 2021 15:07:30 +0000 (11:07 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 28 Oct 2021 18:26:16 +0000 (14:26 -0400)
commit7db581d66184eaad070c1ee3943e9bb6a57af337
tree15f181efaa431317a16a1c3fbaf427a6add4f6eb
parentb8f0208858221d1ab6f9cac4302471e9a563586f
drm/amd/display: allow windowed mpo + odm

This change adds a config flag to allow non fullscreen MPO during ODM.
Scaling calculation will still fail configurations where video is only
one one side of the screen.

Reviewed-by: Aric Cyr <Aric.Cyr@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Acked-by: Agustin Gutierrez <agustin.gutierrez@amd.com>
Signed-off-by: Dmytro Laktyushkin <Dmytro.Laktyushkin@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/core/dc_resource.c
drivers/gpu/drm/amd/display/dc/dc.h
drivers/gpu/drm/amd/display/dc/dcn30/dcn30_resource.c