drm/amd/display: Enable FPO optimization
authorAlvin Lee <Alvin.Lee2@amd.com>
Fri, 17 Mar 2023 19:18:03 +0000 (15:18 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 31 Mar 2023 15:18:54 +0000 (11:18 -0400)
[Description]
Enable optimization for preferring FPO if it achieves
a lower voltage level

Reviewed-by: George Shen <George.Shen@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>
drivers/gpu/drm/amd/display/dc/dcn32/dcn32_resource.c
drivers/gpu/drm/amd/display/dc/dcn321/dcn321_resource.c

index b8c1de3..502f990 100644 (file)
@@ -725,7 +725,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,
+       .disable_fpo_optimizations = false,
 };
 
 static const struct dc_debug_options debug_defaults_diags = {
index 5e0b148..79664ba 100644 (file)
@@ -723,7 +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,
+       .disable_fpo_optimizations = false,
 };
 
 static const struct dc_debug_options debug_defaults_diags = {