summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/display/dc/dcn321
diff options
context:
space:
mode:
authorAlvin Lee <Alvin.Lee2@amd.com>2023-03-13 12:54:49 -0400
committerAlex Deucher <alexander.deucher@amd.com>2023-03-31 11:18:53 -0400
commitac18b610fd95762125cd6a7194cc7e2e3b94e3ed (patch)
tree5f3eaa8fd98016d34b30ae72a6f6be141a3f1377 /drivers/gpu/drm/amd/display/dc/dcn321
parentd29fb7baab09b6a1dc484c9c67933253883e770a (diff)
downloadlinux-stable-ac18b610fd95762125cd6a7194cc7e2e3b94e3ed.tar.gz
linux-stable-ac18b610fd95762125cd6a7194cc7e2e3b94e3ed.tar.bz2
linux-stable-ac18b610fd95762125cd6a7194cc7e2e3b94e3ed.zip
drm/amd/display: Enable FPO for configs that could reduce vlevel
[Description] - On high refresh rate DRR displays that support VBLANK naturally, UCLK could be idling at DPM1 instead of DPM0 since it doesn't use FPO - To achieve DPM0, enable FPO on these configs even though it can support P-State without FPO - Default disable for now, have debug option to enable 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.c1
1 files changed, 1 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 c6a0e84885a2..5e0b1484dc18 100644
--- a/drivers/gpu/drm/amd/display/dc/dcn321/dcn321_resource.c
+++ b/drivers/gpu/drm/amd/display/dc/dcn321/dcn321_resource.c
@@ -723,6 +723,7 @@ static const struct dc_debug_options debug_defaults_drv = {
.min_prefetch_in_strobe_ns = 60000, // 60us
.disable_unbounded_requesting = false,
.override_dispclk_programming = true,
+ .disable_fpo_optimizations = true,
};
static const struct dc_debug_options debug_defaults_diags = {