diff options
author | Alvin Lee <Alvin.Lee2@amd.com> | 2023-03-23 15:48:41 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2023-04-11 18:03:35 -0400 |
commit | 0289e0ed1b9ae20e7b682fc7ca30d2d324a47618 (patch) | |
tree | 546e4da88387ca477b1f4c83e5618d5e863a0659 /drivers/gpu/drm/amd/display/dc/dcn321 | |
parent | 385c3e4c29e1d4ce8f68687a8c84621e4c0e0416 (diff) | |
download | linux-stable-0289e0ed1b9ae20e7b682fc7ca30d2d324a47618.tar.gz linux-stable-0289e0ed1b9ae20e7b682fc7ca30d2d324a47618.tar.bz2 linux-stable-0289e0ed1b9ae20e7b682fc7ca30d2d324a47618.zip |
drm/amd/display: Add FPO + VActive support
[Description]
- When determining FPO support, include FPO + VActive support
- Support FPO + VActive if one display meets regular requirements
for FPO and the second display is able to switch in VACTIVE with
a given amount of margin
Reviewed-by: Jun Lei <Jun.Lei@amd.com>
Acked-by: Qingqing Zhuo <qingqing.zhuo@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>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/dcn321')
-rw-r--r-- | drivers/gpu/drm/amd/display/dc/dcn321/dcn321_resource.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/dcn321/dcn321_resource.c b/drivers/gpu/drm/amd/display/dc/dcn321/dcn321_resource.c index 79664ba7e7af..7ebd14fb9698 100644 --- a/drivers/gpu/drm/amd/display/dc/dcn321/dcn321_resource.c +++ b/drivers/gpu/drm/amd/display/dc/dcn321/dcn321_resource.c @@ -724,6 +724,8 @@ static const struct dc_debug_options debug_defaults_drv = { .disable_unbounded_requesting = false, .override_dispclk_programming = true, .disable_fpo_optimizations = false, + .fpo_vactive_margin_us = 2000, // 2000us + .disable_fpo_vactive = true, }; static const struct dc_debug_options debug_defaults_diags = { |