drm/amd/display: Fixing stream allocation regression
authorRelja Vojvodic <relja.vojvodic@amd.com>
Fri, 15 Dec 2023 23:15:16 +0000 (18:15 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 3 Jan 2024 15:47:57 +0000 (10:47 -0500)
commit292c2116b2ae84c7e799ae340981e60551b18f5e
tree10cc59775038a6953de00dc67d9f8ada2b5620af
parentb8a204fb1a97b39a7fcaefbf2c6c4d01aa4f3c57
drm/amd/display: Fixing stream allocation regression

For certain dual display configs that had one display using a 1080p
mode, the DPM level used to drive the configs regressed from DPM 0 to
DPM 3. This was caused by a missing check that should have only limited
the pipe segments on non-phantom pipes. This caused issues with detile
buffer allocation, which dissallow subvp from being used

Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Reviewed-by: Dillon Varone <dillon.varone@amd.com>
Reviewed-by: Martin Leung <martin.leung@amd.com>
Acked-by: Rodrigo Siqueira <rodrigo.siqueira@amd.com>
Signed-off-by: Relja Vojvodic <relja.vojvodic@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn32/dcn32_resource_helpers.c