drm/amd/display: Don't choose SubVP display if ActiveMargin > 0
authorAlvin Lee <Alvin.Lee2@amd.com>
Mon, 15 Aug 2022 18:58:53 +0000 (14:58 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 29 Aug 2022 21:45:04 +0000 (17:45 -0400)
commita3c9b4c7a75a66b65b62900e2e9d140e0470cd85
treea2c9cf1bd2539585d8e6042b7a58cb22c045ee42
parent572200db77ecbd3a178c68d469790a11cf07a20e
drm/amd/display: Don't choose SubVP display if ActiveMargin > 0

[Description]
There can be SubVP scheduling issues if a SubVP
display is chosen has ActiveDramClockChangeLatency > 0.
Block this case for now, and enable Vactive case
(later) to handle this.

Reviewed-by: Jun Lei <Jun.Lei@amd.com>
Acked-by: Brian Chang <Brian.Chang@amd.com>
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/dml/dcn32/dcn32_fpu.c
drivers/gpu/drm/amd/display/dc/dml/dcn32/display_mode_vba_32.c
drivers/gpu/drm/amd/display/dc/dml/display_mode_vba.h