drm/amd/display: enable the new fast update path for supported ASICs
authorAlvin Lee <alvin.lee2@amd.com>
Tue, 6 Jun 2023 21:51:32 +0000 (17:51 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 23 Jun 2023 19:43:25 +0000 (15:43 -0400)
The new fast update sequence is now supported on some ASICs. So, enable
it by default for all applicable ASICs.

Reviewed-by: Samson Tam <samson.tam@amd.com>
Acked-by: Hamza Mahfooz <hamza.mahfooz@amd.com>
Signed-off-by: Alvin Lee <alvin.lee2@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn30/dcn30_resource.c
drivers/gpu/drm/amd/display/dc/dcn302/dcn302_resource.c
drivers/gpu/drm/amd/display/dc/dcn32/dcn32_resource.c
drivers/gpu/drm/amd/display/dc/dcn321/dcn321_resource.c

index 1a0284a..a8cb066 100644 (file)
@@ -725,7 +725,8 @@ static const struct dc_debug_options debug_defaults_drv = {
        .dwb_fi_phase = -1, // -1 = disable,
        .dmub_command_table = true,
        .use_max_lb = true,
-       .exit_idle_opt_for_cursor_updates = true
+       .exit_idle_opt_for_cursor_updates = true,
+       .enable_legacy_fast_update = false,
 };
 
 static const struct dc_panel_config panel_config_defaults = {
index 7dc065e..5ad6a22 100644 (file)
@@ -95,7 +95,8 @@ static const struct dc_debug_options debug_defaults_drv = {
                .dwb_fi_phase = -1, // -1 = disable,
                .dmub_command_table = true,
                .use_max_lb = true,
-               .exit_idle_opt_for_cursor_updates = true
+               .exit_idle_opt_for_cursor_updates = true,
+               .enable_legacy_fast_update = false,
 };
 
 static const struct dc_panel_config panel_config_defaults = {
index 19f134c..c94dec0 100644 (file)
@@ -732,6 +732,7 @@ static const struct dc_debug_options debug_defaults_drv = {
        .disable_dp_plus_plus_wa = true,
        .fpo_vactive_min_active_margin_us = 200,
        .fpo_vactive_max_blank_us = 1000,
+       .enable_legacy_fast_update = false,
 };
 
 static struct dce_aux *dcn32_aux_engine_create(
index ea20474..28320c6 100644 (file)
@@ -730,6 +730,7 @@ static const struct dc_debug_options debug_defaults_drv = {
        .disable_subvp_high_refresh = false,
        .fpo_vactive_min_active_margin_us = 200,
        .fpo_vactive_max_blank_us = 1000,
+       .enable_legacy_fast_update = false,
 };
 
 static struct dce_aux *dcn321_aux_engine_create(