drm/amd/display: Change DET policy for MPO cases
authorAlvin Lee <Alvin.Lee2@amd.com>
Wed, 4 May 2022 15:20:53 +0000 (11:20 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 5 Jul 2022 20:11:26 +0000 (16:11 -0400)
commit740ccea3d36732346387ce882c50a7e4c3599316
treec680aa950a02da40518d7bb24c42c8976c8a8fbc
parent2b2b3a751b29a09942a15bc0c4fed940b7ce1857
drm/amd/display: Change DET policy for MPO cases

For MPO we want to allocate less than maximum DET for MPO pipes because
we need enogh buffer to move DET back to other pipes when removing an
MPO plane. Also update regular DET allocation to use DET override (DCN32
has an internal policy which driver does not want to use)

Signed-off-by: Alvin Lee <Alvin.Lee2@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn32/dcn32_resource.c
drivers/gpu/drm/amd/display/dc/dml/display_mode_vba.c