drm/amd/display: Add debug option for idle optimizations on cursor updates
authorAlvin Lee <Alvin.Lee2@amd.com>
Fri, 3 Jun 2022 20:39:48 +0000 (16:39 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 25 Jul 2022 21:18:02 +0000 (17:18 -0400)
For optimizations and debug purposes we added an option to exit idle
operations on cursor updates.

Acked-by: Alex Hung <alex.hung@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 2278181..9a26d24 100644 (file)
@@ -868,6 +868,7 @@ static const struct dc_debug_options debug_defaults_drv = {
        },
        .use_max_lb = true,
        .force_disable_subvp = true,
+       .exit_idle_opt_for_cursor_updates = true,
        .enable_single_display_2to1_odm_policy = true,
        .enable_dp_dig_pixel_rate_div_policy = 1,
 };
index ea5160d..8157e40 100644 (file)
@@ -869,6 +869,7 @@ static const struct dc_debug_options debug_defaults_drv = {
        },
        .use_max_lb = true,
        .force_disable_subvp = true,
+       .exit_idle_opt_for_cursor_updates = true,
        .enable_single_display_2to1_odm_policy = true,
        .enable_dp_dig_pixel_rate_div_policy = 1,
 };