]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
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 1a0284a068b2a74e24a96d79af6f6272dc303ac5..a8cb066bc13899ba92cf26e3dab96a09d960df20 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 7dc065ea247a1824175ef8bf0fcf94334d86f977..5ad6a22ee47dabb2b50716543e7c5d77bfeb4421 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 19f134caa8adba9125f2f886c6b6639a982d95a2..c94dec042cc3742e84d865e7b3a3bcd2818e4d33 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 ea204742ad35455baa093e38d6fd7945aaa16c9c..28320c608aebd2783c5febd1587e8f7b40fcca84 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(